diff --git a/ethereal/assets/qml/views/info.qml b/ethereal/assets/qml/views/info.qml index 9ac2a1a099..8a1d4d84ae 100644 --- a/ethereal/assets/qml/views/info.qml +++ b/ethereal/assets/qml/views/info.qml @@ -106,7 +106,6 @@ Rectangle { } } } - } Menu { diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index 90cc42a1fa..ed527ced7c 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -43,7 +43,6 @@ ApplicationWindow { // Takes care of loading all default plugins Component.onCompleted: { var walletView = addPlugin("./views/wallet.qml", {noAdd: true, section: "ethereum", active: true}) - var historyView = addPlugin("./views/history.qml", {noAdd: true, section: "legacy"}) var newTxView = addPlugin("./views/transaction.qml", {noAdd: true, section: "legacy"}) var chainView = addPlugin("./views/chain.qml", {noAdd: true, section: "legacy"}) var infoView = addPlugin("./views/info.qml", {noAdd: true, section: "legacy"}) diff --git a/ethereal/ui_lib.go b/ethereal/ui_lib.go index 4b8210da64..fa09751e12 100644 --- a/ethereal/ui_lib.go +++ b/ethereal/ui_lib.go @@ -53,7 +53,7 @@ func (self *UiLib) LookupDomain(domain string) string { data := world.Config().Get("DnsReg").StorageString(domain).Bytes() // Left padded = A record, Right padded = CNAME - if data[0] == 0 { + if len(data) > 0 && data[0] == 0 { data = bytes.TrimLeft(data, "\x00") var ipSlice []string for _, d := range data {