Skip to content

Commit

Permalink
use txid
Browse files Browse the repository at this point in the history
  • Loading branch information
Daryl-L committed May 16, 2024
1 parent cc345f8 commit 045b1e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/sync.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ export class SyncService {
if (vin.txid && vin.vout) {
acc.set(
buildRgbppLockArgs(vin.vout, vin.txid),
{ txid: cur.hash, vin: { index: vin.vout, txid: vin.txid } },
{ txid: cur.txid, vin: { index: vin.vout, txid: vin.txid } },
)
}
})
return acc
}, new Map<HexString, ConsumedBitcoinOutput>
)
}, new Map<HexString, ConsumedBitcoinOutput>)

const filtered = await this._explorerService.filterUnbindCell(unbindTransaction)
console.log(filtered)
for (const record of filtered) {
Expand Down

0 comments on commit 045b1e1

Please sign in to comment.