Commit 4b8c50e2 authored by obscuren's avatar obscuren

Deprication

parent 1e7b3cbb
......@@ -29,7 +29,12 @@ func NewTransaction(to []byte, value *big.Int, data []string) *Transaction {
return &tx
}
// XXX Deprecated
func NewTransactionFromData(data []byte) *Transaction {
return NewTransactionFromBytes(data)
}
func NewTransactionFromBytes(data []byte) *Transaction {
tx := &Transaction{}
tx.RlpDecode(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment