Fix Uncaught (in promise) User rejected sign transaction request

pull/42/head
Hirokryptor 4 years ago
parent 3f6005764d
commit 3bfe0deb4e
  1. 2
      packages/harmony-contract/src/methods/method.ts

@ -58,6 +58,8 @@ export class ContractMethod {
this.transaction.emitter.resolve(this.contract);
}
});
}).catch((error) => {
this.transaction.emitter.reject(error);
});
};

Loading…
Cancel
Save