forked from cerc-io/plugeth
Removed comments
This commit is contained in:
parent
4d98762486
commit
a2d01d6af8
@ -122,29 +122,6 @@ func (lib *PEthereum) createTx(key, recipient, valueStr, gasStr, gasPriceStr, sc
|
|||||||
var tx *ethchain.Transaction
|
var tx *ethchain.Transaction
|
||||||
// Compile and assemble the given data
|
// Compile and assemble the given data
|
||||||
if contractCreation {
|
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 script []byte
|
||||||
var err error
|
var err error
|
||||||
if ethutil.IsHex(scriptStr) {
|
if ethutil.IsHex(scriptStr) {
|
||||||
|
Loading…
Reference in New Issue
Block a user