We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 620c11e + a1138da commit 6eb3acfCopy full SHA for 6eb3acf
modules/sdk-coin-coredao/src/coredao.ts
@@ -63,7 +63,7 @@ export class Coredao extends AbstractEthLikeNewCoins {
63
if (!result || !Array.isArray(result.result)) {
64
throw new Error('Unable to find next nonce from the explorer, got: ' + JSON.stringify(result));
65
}
66
- const backupKeyTxList = result.result;
+ const backupKeyTxList = result.result.filter((tx) => tx.from === address);
67
if (backupKeyTxList.length > 0) {
68
// Calculate last nonce used
69
nonce = Math.max(...backupKeyTxList.filter((tx) => tx.from === address).map((tx) => tx.nonce as number)) + 1;
0 commit comments