fix(contract):update nonce correctly

dev
neeboo 5 years ago
parent 37f7dfe379
commit 85d6ad6d19
  1. 2
      packages/harmony-contract/src/methods/method.ts

@ -43,7 +43,7 @@ export class ContractMethod {
return { ...tx, ...params };
});
const updateNonce: boolean = params.nonce ? false : true;
const updateNonce: boolean = params.nonce !== undefined ? false : true;
this.signTransaction(updateNonce).then((signed) => {
this.sendTransaction(signed).then((sent) => {

Loading…
Cancel
Save