Fixed JsonRpcSigner for Promise-based values.

This commit is contained in:
Richard Moore 2018-06-26 17:47:31 -04:00
parent ac2ad5a886
commit 98ea4b59a0
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295

View File

@ -128,7 +128,7 @@ var JsonRpcSigner = /** @class */ (function (_super) {
});
}
return properties_1.resolveProperties(tx).then(function (tx) {
return _this.provider.send('eth_sendTransaction', [transaction]);
return _this.provider.send('eth_sendTransaction', [tx]);
});
};
JsonRpcSigner.prototype.signMessage = function (message) {