diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-24 20:16:43 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-24 20:16:43 +0800 |
commit | 82a84dca807c8966079253977329ef0800d20557 (patch) | |
tree | 5be0eb27686af820b2754ff42bcd106495261a27 | |
parent | 0ca776a6b80097e34006f26fd934ed5f388e68f8 (diff) | |
download | go-tangerine-82a84dca807c8966079253977329ef0800d20557.tar go-tangerine-82a84dca807c8966079253977329ef0800d20557.tar.gz go-tangerine-82a84dca807c8966079253977329ef0800d20557.tar.bz2 go-tangerine-82a84dca807c8966079253977329ef0800d20557.tar.lz go-tangerine-82a84dca807c8966079253977329ef0800d20557.tar.xz go-tangerine-82a84dca807c8966079253977329ef0800d20557.tar.zst go-tangerine-82a84dca807c8966079253977329ef0800d20557.zip |
Move to goroutine for faster startup time
-rw-r--r-- | ethereal/gui.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ethereal/gui.go b/ethereal/gui.go index d76db2ade..df01cddda 100644 --- a/ethereal/gui.go +++ b/ethereal/gui.go @@ -143,10 +143,12 @@ func (gui *Gui) showWallet(context *qml.Context) (*qml.Window, error) { win := gui.createWindow(component) - gui.setInitialBlockChain() - gui.loadAddressBook() - gui.readPreviousTransactions() - gui.setPeerInfo() + go func() { + gui.setInitialBlockChain() + gui.loadAddressBook() + gui.readPreviousTransactions() + gui.setPeerInfo() + }() go gui.update() |