remove outdated comment
This commit is contained in:
parent
aa3ae700b0
commit
b65ca931f2
@ -54,8 +54,6 @@ export class Web3Wrapper {
|
|||||||
const didFindCode = _.isNull(code.match(zeroHexAddressRegex));
|
const didFindCode = _.isNull(code.match(zeroHexAddressRegex));
|
||||||
return didFindCode;
|
return didFindCode;
|
||||||
}
|
}
|
||||||
// Note: since `sign` is overloaded to be both a sync and async method, it doesn't play nice
|
|
||||||
// with our callAsync method. We therefore handle it here as a special case.
|
|
||||||
public async signTransactionAsync(address: string, message: string): Promise<string> {
|
public async signTransactionAsync(address: string, message: string): Promise<string> {
|
||||||
const signData = await promisify(this.web3.eth.sign)(address, message);
|
const signData = await promisify(this.web3.eth.sign)(address, message);
|
||||||
return signData;
|
return signData;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user