diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-03 21:05:19 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-03 21:05:19 +0800 |
commit | 82405501872385b240012070bad2f0eda643d423 (patch) | |
tree | 97fcdb3fb3be607d0b21e5da01bbd0f33372ffc2 /xeth/hexface.go | |
parent | 709eff4ea77b965cdf763ada8ab248e3d850406f (diff) | |
download | dexon-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.go | 2 |
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 } |