tidy up bitswap, ledger

Fixed in this PR. Last amendment I promise. =)