aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Ukustov <sergey@ukstv.me>2017-10-24 16:48:33 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:36 +0800
commit24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571 (patch)
treefdfc18423c35505a0f95b7e52ac175348eceba39
parent4e0c67e2a1cebc6ad65d4cb15c5894875de59bff (diff)
downloaddexon-sol-tools-24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571.tar
dexon-sol-tools-24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571.tar.gz
dexon-sol-tools-24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571.tar.bz2
dexon-sol-tools-24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571.tar.lz
dexon-sol-tools-24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571.tar.xz
dexon-sol-tools-24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571.tar.zst
dexon-sol-tools-24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571.zip
Add async web3.personal.sign
-rw-r--r--packages/web3-typescript-typings/index.d.ts1
1 files changed, 1 insertions, 0 deletions
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 {