From 40ca8079f834d1135ed0935e692c4e25d7c38d18 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Sat, 8 Nov 2014 22:58:34 +0100 Subject: [PATCH] fix for web3.eth.accounts returning empty array --- alethzero/MainWin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alethzero/MainWin.cpp b/alethzero/MainWin.cpp index 845fbf5a4..e43a61d37 100644 --- a/alethzero/MainWin.cpp +++ b/alethzero/MainWin.cpp @@ -610,6 +610,7 @@ void Main::readSettings(bool _skipGeometry) } } ethereum()->setAddress(m_myKeys.back().address()); + m_server->setAccounts(keysAsVector(m_myKeys)); } { @@ -1821,6 +1822,7 @@ void Main::on_send_clicked() void Main::keysChanged() { onBalancesChange(); + m_server->setAccounts(keysAsVector(m_myKeys)); } void Main::on_debug_clicked()