aboutsummaryrefslogtreecommitdiffstats
path: root/RPCTests/scripts/testNewAccount.js
blob: ae3224384bc7afd142ad5564495e80c68e0628ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
process.stdout.write("TEST_newAccount ");
var onResult = {};
web3.personal.newAccount("123", function(err,res){ onResult(err,res); })

onResult = function (err,res) 
{
   if (res.length == 42)
    console.log("OK");
   else 
    console.log("FAILED");
   callback(err, res);
}