Skip to content
Snippets Groups Projects
Commit 7ca01f3b authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Make unlock() use the "new" BFA RPC API call

parent ab957600
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,12 @@ function unlockall()
{
var wallets = new Array();
web3.bfa.personal.listWallets(
function pushone(x)
function pushone(err,x)
{
if ( err )
bye( 1, err );
if ( x == undefed )
bye( 1, "wallets not defined" );
var failures = 0;
var promises = new Array();
var i = x.length;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment