diff --git a/bin/start.sh b/bin/start.sh index 203e174b5e65f3a528af7f6145d20220ee64f282..a3a2c0e5dd3a5c6800a600c0b219cc035c2182d3 100755 --- a/bin/start.sh +++ b/bin/start.sh @@ -136,6 +136,7 @@ function startgeth --gcmode archive \ ${flexargs} \ --rpccorsdomain \* \ + --allow-insecure-unlock \ --bootnodes "${bootnodes}" & set +x echo $! > ${BFANODEDIR}/geth.pid diff --git a/bin/unlock.js b/bin/unlock.js index d7f2315141f2adc0b8b71f7e36a06e72a6ecfd6f..26809293734731598cb71fa537c13523f2184427 100755 --- a/bin/unlock.js +++ b/bin/unlock.js @@ -59,8 +59,7 @@ function bye( exitcode, msg ) function unlockall() { var wallets = new Array(); - web3.eth.personal.bfalistWallets() - .then( + web3.bfa.personal.listWallets( function pushone(x) { var failures = 0;