diff options
-rw-r--r-- | ethereal/assets/qml/wallet.qml | 1 | ||||
-rw-r--r-- | ethereal/assets/qml/webapp.qml | 2 | ||||
-rw-r--r-- | utils/cmd.go | 7 |
3 files changed, 9 insertions, 1 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index 51f064adf..dee31a04e 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -6,6 +6,7 @@ import QtQuick.Window 2.1; import QtQuick.Controls.Styles 1.1 import Ethereum 1.0 + ApplicationWindow { id: root diff --git a/ethereal/assets/qml/webapp.qml b/ethereal/assets/qml/webapp.qml index d3cffeeca..f00b04599 100644 --- a/ethereal/assets/qml/webapp.qml +++ b/ethereal/assets/qml/webapp.qml @@ -188,7 +188,7 @@ ApplicationWindow { WebView { id: inspector - visible: false + visible:true url: webview.experimental.remoteInspectorUrl anchors { left: root.left diff --git a/utils/cmd.go b/utils/cmd.go index 98005d7de..f8b7b5fe2 100644 --- a/utils/cmd.go +++ b/utils/cmd.go @@ -40,6 +40,13 @@ func DoMining(ethereum *eth.Ethereum) { // Give it some time to connect with peers time.Sleep(3 * time.Second) + for ethereum.IsUpToDate() == false { + time.Sleep(5 * time.Second) + } + + ethutil.Config.Log.Infoln("Miner started") + + miner := ethminer.NewDefaultMiner(addr, ethereum) miner.Start() }() } |