From 24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571 Mon Sep 17 00:00:00 2001 From: Sergey Ukustov Date: Tue, 24 Oct 2017 11:48:33 +0300 Subject: Add async web3.personal.sign --- packages/web3-typescript-typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages') diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 96b69e1c5..f866078ea 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -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 { -- cgit v1.2.3