Debug output, minor fixes and tweaks

* Script compile length fix
* Transition fix
This commit is contained in:
obscuren
2014-07-04 15:32:10 +02:00
parent 23b5b5fa36
commit 90eb4f1939
5 changed files with 26 additions and 12 deletions

View File

@ -217,7 +217,7 @@ func (lib *PEthereum) createTx(key, recipient, valueStr, gasStr, gasPriceStr, sc
if ethutil.IsHex(scriptStr) {
script = ethutil.Hex2Bytes(scriptStr[2:])
} else {
script, err = ethutil.Compile(scriptStr)
script, err = ethutil.Compile(scriptStr, false)
if err != nil {
return nil, err
}