Add async web3.personal.sign
This commit is contained in:
committed by
Leonid Logvinov
parent
4e0c67e2a1
commit
24ff2ec30c
1
packages/web3-typescript-typings/index.d.ts
vendored
1
packages/web3-typescript-typings/index.d.ts
vendored
@@ -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 {
|
||||
|
Reference in New Issue
Block a user