ledger: remove silly hash functions