From 7c4a782d2804343872390f66ebb829c41b6146fb Mon Sep 17 00:00:00 2001 From: Alia Aamir Date: Fri, 8 Sep 2023 19:05:44 -0400 Subject: [PATCH] fix(sdk-coin-dot): fix dot unsigned sweep consolidation recovery txn WP-607 TICKET: WP-607 --- modules/sdk-coin-dot/src/dot.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/sdk-coin-dot/src/dot.ts b/modules/sdk-coin-dot/src/dot.ts index d2a46ec9d2..25884c55f4 100644 --- a/modules/sdk-coin-dot/src/dot.ts +++ b/modules/sdk-coin-dot/src/dot.ts @@ -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,