add signer

This commit is contained in:
Michele Balistreri 2020-01-10 16:19:49 +03:00
parent 3de6a65045
commit 244624c207
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ function signPaymentRequest(message, cb) {
message: message
};
signer = web3.eth.defaultAccount;
if (web3.keycard.signTypedData) {
web3.keycard.signTypedData(data, cb);