good morning!!!!

Skip to content
Snippets Groups Projects
Commit 4008ff32 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Mutan compile

parent d79387c2
No related branches found
No related tags found
No related merge requests found
......@@ -148,3 +148,12 @@ func (self *Pipe) Transact(key *ethcrypto.KeyPair, rec []byte, value, gas, price
return tx.Hash(), nil
}
func (self *Pipe) CompileMutan(code string) ([]byte, error) {
data, err := ethutil.Compile(code, false)
if err != nil {
return nil, err
}
return data, nil
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment