Moved methods to messages

This commit is contained in:
obscuren
2014-12-18 15:33:22 +01:00
parent db494170dc
commit 5ad473d758
6 changed files with 14 additions and 37 deletions

View File

@ -229,7 +229,7 @@ func (self *JSXEth) PushTx(txStr string) (*JSReceipt, error) {
return nil, err
}
return NewJSReciept(tx.CreatesContract(), core.AddressFromMessage(tx), tx.Hash(), tx.From()), nil
return NewJSReciept(core.MessageCreatesContract(tx), core.AddressFromMessage(tx), tx.Hash(), tx.From()), nil
}
func (self *JSXEth) CompileMutan(code string) string {