diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-29 08:05:57 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-29 08:05:57 +0800 |
commit | a2d01d6af8cace4ea0ef87662727659eaa1ff791 (patch) | |
tree | 0f74c9e6bd7fe22d5c9de9b96a0a5ff68550bc26 | |
parent | 4d987624867fc02a079d8355c28bad620db85f06 (diff) | |
download | go-tangerine-a2d01d6af8cace4ea0ef87662727659eaa1ff791.tar go-tangerine-a2d01d6af8cace4ea0ef87662727659eaa1ff791.tar.gz go-tangerine-a2d01d6af8cace4ea0ef87662727659eaa1ff791.tar.bz2 go-tangerine-a2d01d6af8cace4ea0ef87662727659eaa1ff791.tar.lz go-tangerine-a2d01d6af8cace4ea0ef87662727659eaa1ff791.tar.xz go-tangerine-a2d01d6af8cace4ea0ef87662727659eaa1ff791.tar.zst go-tangerine-a2d01d6af8cace4ea0ef87662727659eaa1ff791.zip |
Removed comments
-rw-r--r-- | ethpub/pub.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ethpub/pub.go b/ethpub/pub.go index 5a9401d0d..6dd7798ae 100644 --- a/ethpub/pub.go +++ b/ethpub/pub.go @@ -122,29 +122,6 @@ func (lib *PEthereum) createTx(key, recipient, valueStr, gasStr, gasPriceStr, sc var tx *ethchain.Transaction // Compile and assemble the given data if contractCreation { - /* - var initScript, mainScript []byte - var err error - if ethutil.IsHex(initStr) { - initScript = ethutil.FromHex(initStr[2:]) - } else { - initScript, err = ethutil.Compile(initStr) - if err != nil { - return nil, err - } - } - - if ethutil.IsHex(scriptStr) { - mainScript = ethutil.FromHex(scriptStr[2:]) - } else { - mainScript, err = ethutil.Compile(scriptStr) - if err != nil { - return nil, err - } - } - - script := ethchain.AppendScript(initScript, mainScript) - */ var script []byte var err error if ethutil.IsHex(scriptStr) { |