aboutsummaryrefslogtreecommitdiffstats
path: root/Mist/ui_lib.go
diff options
context:
space:
mode:
Diffstat (limited to 'Mist/ui_lib.go')
-rw-r--r--Mist/ui_lib.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mist/ui_lib.go b/Mist/ui_lib.go
index 4e1f7f45c..1434e28d0 100644
--- a/Mist/ui_lib.go
+++ b/Mist/ui_lib.go
@@ -72,6 +72,10 @@ func (self *UiLib) LookupDomain(domain string) string {
}
}
+func (self *UiLib) PastPeers() *ethutil.List {
+ return ethutil.NewList(eth.PastPeers())
+}
+
func (self *UiLib) ImportTx(rlpTx string) {
tx := ethchain.NewTransactionFromBytes(ethutil.Hex2Bytes(rlpTx))
self.eth.TxPool().QueueTransaction(tx)