aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/hexface.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-03 21:05:19 +0800
committerobscuren <geffobscura@gmail.com>2014-12-03 21:05:19 +0800
commit82405501872385b240012070bad2f0eda643d423 (patch)
tree97fcdb3fb3be607d0b21e5da01bbd0f33372ffc2 /xeth/hexface.go
parent709eff4ea77b965cdf763ada8ab248e3d850406f (diff)
downloaddexon-82405501872385b240012070bad2f0eda643d423.tar
dexon-82405501872385b240012070bad2f0eda643d423.tar.gz
dexon-82405501872385b240012070bad2f0eda643d423.tar.bz2
dexon-82405501872385b240012070bad2f0eda643d423.tar.lz
dexon-82405501872385b240012070bad2f0eda643d423.tar.xz
dexon-82405501872385b240012070bad2f0eda643d423.tar.zst
dexon-82405501872385b240012070bad2f0eda643d423.zip
updated to types
Diffstat (limited to 'xeth/hexface.go')
-rw-r--r--xeth/hexface.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/hexface.go b/xeth/hexface.go
index 9b7aa6b9c..6360c7675 100644
--- a/xeth/hexface.go
+++ b/xeth/hexface.go
@@ -215,7 +215,7 @@ func (self *JSXEth) Transact(key, toStr, valueStr, gasStr, gasPriceStr, codeStr
if err != nil {
return "", err
}
- if chain.IsContractAddr(to) {
+ if types.IsContractAddr(to) {
return ethutil.Bytes2Hex(tx.CreationAddress(nil)), nil
}