feat(order): refactored acceptCounterOffer()

This commit is contained in:
Daniel Gonzalez
2025-05-14 20:33:25 -04:00
parent 7ae557d143
commit abf834c5a8
4 changed files with 181 additions and 16 deletions
+9 -1
View File
@@ -47,7 +47,15 @@ describe('#OrderPagination', () => {
timestamp: 'timestamp',
localTimestamp: 'localTimestamp',
txid: 'txid',
p2wdbHash: 'p2wdbHash'
p2wdbHash: 'p2wdbHash',
hdIndex: 0,
nostrEventId: 'nostrEventId',
dataType: 'dataType',
makerAddr: 'makerAddr',
rateInBaseUnit: 'rateInBaseUnit',
minUnitsToExchange: 'minUnitsToExchange',
ticker: 'ticker',
tokenType: 1
})
await order.save()
})