Skip to content

Commit

Permalink
Merge pull request #3901 from BitGo/WP-607-fix-dot-unsigned-sweep-con…
Browse files Browse the repository at this point in the history
…solidation-recovery-txn

fix(sdk-coin-dot): fix dot unsigned sweep consolidation recovery txn
  • Loading branch information
alia-bitgo authored Sep 8, 2023
2 parents f836fb2 + 7c4a782 commit 674c72e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/sdk-coin-dot/src/dot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,12 @@ export class Dot extends BaseCoin {
// appropriately adjust the scan range on the next iteration of consolidation recoveries). In the case of unsigned
// sweep consolidations, this lastScanIndex will be provided in the coinSpecific of the last txn made.
const lastTransactionCoinSpecific = {
firstValid:
consolidationTransactions[consolidationTransactions.length - 1].transactions[0].unsignedTx.coinSpecific
.firstValid,
maxDuration:
consolidationTransactions[consolidationTransactions.length - 1].transactions[0].unsignedTx.coinSpecific
.maxDuration,
commonKeychain:
consolidationTransactions[consolidationTransactions.length - 1].transactions[0].unsignedTx.coinSpecific
.commonKeychain,
Expand Down

0 comments on commit 674c72e

Please sign in to comment.