From eb9d985a5a27545647e4a38dfa412fb0ce5f2622 Mon Sep 17 00:00:00 2001 From: Blockchain Federal Argentina <bfa@distillery1.bfa.ar> Date: Tue, 21 May 2019 12:48:50 -0300 Subject: [PATCH] Allow insecure unlock (y un parche en unlock) --- bin/start.sh | 1 + bin/unlock.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/start.sh b/bin/start.sh index 203e174..a3a2c0e 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 d7f2315..2680929 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; -- GitLab