aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-23 01:54:33 +0800
committerobscuren <geffobscura@gmail.com>2014-07-23 01:54:33 +0800
commite7a80ec68165755678647f2d3e9b475d492a70dd (patch)
tree2978282c7827d6cd1b5e671c139b2894d810ebb8
parent15960a5c04c154a07d8813fcc9a6fa465d8d4500 (diff)
downloaddexon-e7a80ec68165755678647f2d3e9b475d492a70dd.tar.gz
dexon-e7a80ec68165755678647f2d3e9b475d492a70dd.tar.zst
dexon-e7a80ec68165755678647f2d3e9b475d492a70dd.zip
set asm
-rw-r--r--ethereal/debugger.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereal/debugger.go b/ethereal/debugger.go
index 17087f8ce..a82dcb43f 100644
--- a/ethereal/debugger.go
+++ b/ethereal/debugger.go
@@ -133,6 +133,8 @@ func (self *DebuggerWindow) Debug(valueStr, gasStr, gasPriceStr, scriptStr, data
contract := ethchain.NewStateObject([]byte{0})
contract.Amount = value
+ self.SetAsm(script)
+
callerClosure := ethchain.NewClosure(account, contract, script, state, gas, gasPrice)
block := self.lib.eth.BlockChain().CurrentBlock