Add async web3.personal.sign

This commit is contained in:
Sergey Ukustov
2017-10-24 11:48:33 +03:00
committed by Leonid Logvinov
parent 4e0c67e2a1
commit 24ff2ec30c

View File

@@ -257,6 +257,7 @@ declare module 'web3' {
unlockAccount(address: string, password?: string, duration?: number): boolean;
lockAccount(address: string): boolean;
sign(message: string, account: string, password: string): string;
sign(hexMessage: string, account: string, callback: (error: Error, signature: string) => void): void;
}
interface NetApi {