diff options
author | Sergey Ukustov <sergey@ukstv.me> | 2017-10-24 16:48:33 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:36 +0800 |
commit | 24ff2ec30c1fb5c6e3d5149ee5f4d01b8bdb1571 (patch) | |
tree | fdfc18423c35505a0f95b7e52ac175348eceba39 | |
parent | 4e0c67e2a1cebc6ad65d4cb15c5894875de59bff (diff) | |
download | dexon-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.ts | 1 |
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 { |