aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-18 22:33:22 +0800
committerobscuren <geffobscura@gmail.com>2014-12-18 22:33:22 +0800
commit5ad473d7581b92811c3a3e035274a82fc5568f57 (patch)
tree9d34ffc04b208a1923fa181938e7366bca2573d7 /cmd
parentdb494170dc819b1eb0d267b6e1ab36c6cfb63569 (diff)
downloaddexon-5ad473d7581b92811c3a3e035274a82fc5568f57.tar.gz
dexon-5ad473d7581b92811c3a3e035274a82fc5568f57.tar.zst
dexon-5ad473d7581b92811c3a3e035274a82fc5568f57.zip
Moved methods to messages
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mist/gui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mist/gui.go b/cmd/mist/gui.go
index 46f264f35..7775889cc 100644
--- a/cmd/mist/gui.go
+++ b/cmd/mist/gui.go
@@ -310,7 +310,7 @@ func (gui *Gui) insertTransaction(window string, tx *types.Transaction) {
s, r string
)
- if tx.CreatesContract() {
+ if core.MessageCreatesContract(tx) {
rec = nameReg.Storage(core.AddressFromMessage(tx))
}
@@ -322,7 +322,7 @@ func (gui *Gui) insertTransaction(window string, tx *types.Transaction) {
if rec.Len() != 0 {
r = strings.Trim(rec.Str(), "\x00")
} else {
- if tx.CreatesContract() {
+ if core.MessageCreatesContract(tx) {
r = ethutil.Bytes2Hex(core.AddressFromMessage(tx))
} else {
r = ethutil.Bytes2Hex(tx.To())