aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui/ui_lib.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-14 19:55:08 +0800
committerobscuren <geffobscura@gmail.com>2014-05-14 19:55:08 +0800
commitf18ec51cb3959cc662bfc7b84314cd1d3b1541b5 (patch)
tree1c3d99407624dc791db0cb6c135bd2bd1dfc56cf /ethereal/ui/ui_lib.go
parente8147cf7c6f508910698e6743ad347c78010ffe3 (diff)
downloadgo-tangerine-f18ec51cb3959cc662bfc7b84314cd1d3b1541b5.tar.gz
go-tangerine-f18ec51cb3959cc662bfc7b84314cd1d3b1541b5.tar.zst
go-tangerine-f18ec51cb3959cc662bfc7b84314cd1d3b1541b5.zip
Switched to new keyring methods
Diffstat (limited to 'ethereal/ui/ui_lib.go')
-rw-r--r--ethereal/ui/ui_lib.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/ui/ui_lib.go b/ethereal/ui/ui_lib.go
index 6736e79ae..0c43f1675 100644
--- a/ethereal/ui/ui_lib.go
+++ b/ethereal/ui/ui_lib.go
@@ -138,7 +138,7 @@ func (ui *UiLib) DebugTx(recipient, valueStr, gasStr, gasPriceStr, data string)
callerTx := ethchain.NewContractCreationTx(ethutil.Big(valueStr), ethutil.Big(gasStr), ethutil.Big(gasPriceStr), callerScript, nil)
// Contract addr as test address
- keyPair := ethutil.Config.Db.GetKeys()[0]
+ keyPair := ethutil.GetKeyRing().Get(0)
account := ui.eth.StateManager().TransState().GetStateObject(keyPair.Address())
c := ethchain.MakeContract(callerTx, state)
callerClosure := ethchain.NewClosure(account, c, c.Script(), state, ethutil.Big(gasStr), ethutil.Big(gasPriceStr))