diff --git a/src/ledger/orderbook.ts b/src/ledger/orderbook.ts index 12381285..9e9ed8c0 100644 --- a/src/ledger/orderbook.ts +++ b/src/ledger/orderbook.ts @@ -52,7 +52,7 @@ function getBookOffers(connection: Connection, account: string, } function isSameIssue(a: Amount, b: Amount) { - return a.currency === b.currency && a.issuer === b.issuer + return a.currency === b.currency && a.counterparty === b.counterparty } function directionFilter(direction: string, order: OrderbookItem) {