Skip to content

Commit

Permalink
Merge branch 'dev/0.0.4' into dev/0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelycs committed Nov 20, 2018
2 parents 6c7f086 + 89c1ef5 commit bd83f35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@vite/vitejs",
"version": "0.0.1-1",
"version": "0.0.1-2",
"description": "",
"main": "dist/es5/src/index.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/Wallet/account.js
Expand Up @@ -59,7 +59,9 @@ class Account {
accountBlock.publicKey = Buffer.from(pubKey).toString('base64');
accountBlock.signature = Buffer.from(signature).toString('base64');

return this.Vite['tx_sendRawTx'](accountBlock);
return this.Vite['tx_sendRawTx'](accountBlock).then(() => {
return accountBlock;
});
}

encrypt(key, pwd, scryptP) {
Expand Down

0 comments on commit bd83f35

Please sign in to comment.