diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-02 05:59:18 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-02 05:59:18 +0800 |
commit | 00d3935aac3f5d50bae56650c45e49a8b8705099 (patch) | |
tree | da01968d729f41fa7f4470c2a4323b2dd422304b /ethpub/pub.go | |
parent | bb2433ca1a953e610396707a67ca5eb73574e81f (diff) | |
download | go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar.gz go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar.bz2 go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar.lz go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar.xz go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar.zst go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.zip |
Removed old method
Diffstat (limited to 'ethpub/pub.go')
-rw-r--r-- | ethpub/pub.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethpub/pub.go b/ethpub/pub.go index ee4c07cf1..4845b1d13 100644 --- a/ethpub/pub.go +++ b/ethpub/pub.go @@ -166,7 +166,7 @@ func (lib *PEthereum) Create(key, valueStr, gasStr, gasPriceStr, script string) return lib.createTx(key, "", valueStr, gasStr, gasPriceStr, script) } -func GetAddressFromNameReg(stateManager *ethchain.StateManager, name string) []byte { +func FindAddressInNameReg(stateManager *ethchain.StateManager, name string) []byte { nameReg := EthereumConfig(stateManager).NameReg() if nameReg != nil { addr := ethutil.RightPadBytes([]byte(name), 32) @@ -186,7 +186,7 @@ func (lib *PEthereum) createTx(key, recipient, valueStr, gasStr, gasPriceStr, sc contractCreation = true } else { // Check if an address is stored by this address - addr := GetAddressFromNameReg(lib.stateManager, recipient) + addr := FindAddressInNameReg(lib.stateManager, recipient) if len(addr) > 0 { hash = addr } else { |