|
|
@ -151,7 +151,7 @@ func (ui *UiLib) DebugTx(recipient, valueStr, gasStr, gasPriceStr, data string) |
|
|
|
keyPair := ethutil.Config.Db.GetKeys()[0] |
|
|
|
keyPair := ethutil.Config.Db.GetKeys()[0] |
|
|
|
account := ui.eth.StateManager().GetAddrState(keyPair.Address()).Object |
|
|
|
account := ui.eth.StateManager().GetAddrState(keyPair.Address()).Object |
|
|
|
c := ethchain.MakeContract(callerTx, state) |
|
|
|
c := ethchain.MakeContract(callerTx, state) |
|
|
|
callerClosure := ethchain.NewClosure(account, c, c.Script(), state, ethutil.Big(gasStr), ethutil.Big(gasPriceStr), ethutil.Big(valueStr)) |
|
|
|
callerClosure := ethchain.NewClosure(account, c, c.Script(), state, ethutil.Big(gasStr), ethutil.Big(gasPriceStr)) |
|
|
|
|
|
|
|
|
|
|
|
block := ui.eth.BlockChain().CurrentBlock |
|
|
|
block := ui.eth.BlockChain().CurrentBlock |
|
|
|
vm := ethchain.NewVm(state, ui.eth.StateManager(), ethchain.RuntimeVars{ |
|
|
|
vm := ethchain.NewVm(state, ui.eth.StateManager(), ethchain.RuntimeVars{ |
|
|
|