mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
Move to goroutine for faster startup time
This commit is contained in:
parent
0ca776a6b8
commit
82a84dca80
1 changed files with 6 additions and 4 deletions
|
|
@ -143,10 +143,12 @@ func (gui *Gui) showWallet(context *qml.Context) (*qml.Window, error) {
|
||||||
|
|
||||||
win := gui.createWindow(component)
|
win := gui.createWindow(component)
|
||||||
|
|
||||||
gui.setInitialBlockChain()
|
go func() {
|
||||||
gui.loadAddressBook()
|
gui.setInitialBlockChain()
|
||||||
gui.readPreviousTransactions()
|
gui.loadAddressBook()
|
||||||
gui.setPeerInfo()
|
gui.readPreviousTransactions()
|
||||||
|
gui.setPeerInfo()
|
||||||
|
}()
|
||||||
|
|
||||||
go gui.update()
|
go gui.update()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue