Skip to content

MultiSig - Propose to change on the overrides logic process #25

@githubckgoh1439

Description

@githubckgoh1439

Hi, YK

While come to Create-multisig-Tx and Sign-multisig-Tx in those test-cases, I will set this :

let overrides = {
    accountNumber: multiSigWallet.multisigAccountState.value.accountNumber,
    nonce: 0           
}

So, I will base on this below :

// Removing multisig signature elements, so that it will be using wallet signature instead of multisig.
if (overrides && overrides["accountNumber"]) {
   delete overrides["accountNumber"];
   if (!silent) console.log(indent, "\nsendRawTransaction()........delete overrides[accountNumber]");
}
if (overrides && overrides["nonce"]) {
   delete overrides["nonce"];
   if (!silent) console.log(indent, "\nsendRawTransaction()........delete overrides[nonce]");
}

And change to this below :

// Removing multisig signature elements, so that it will be using wallet signature instead of multisig.
if (overrides && overrides["accountNumber"]) {
   delete overrides["accountNumber"];
   delete overrides["nonce"];
}

Because while I do debugging it always skip this selection 'if (overrides && overrides["nonce"])', even I set like this :

let overrides = {
    accountNumber: multiSigWallet.multisigAccountState.value.accountNumber,
    nonce: 0           
}

Any comments ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions