bug fixes for mapping payment channel to ledger accounts