Updated to new mutan api

This commit is contained in:
obscuren
2014-03-30 22:03:29 +02:00
parent 3fb7ae2fa1
commit ebbc5e7cb8
3 changed files with 8 additions and 8 deletions

View File

@ -35,7 +35,7 @@ func (lib *EthLib) CreateTx(recipient, valueStr, gasStr, gasPriceStr, data strin
var tx *ethchain.Transaction
// Compile and assemble the given data
if contractCreation {
asm, err := mutan.NewCompiler().Compile(strings.NewReader(data))
asm, err := mutan.Compile(strings.NewReader(data), false)
if err != nil {
return err.Error()
}