Deprication

pull/150/head
obscuren 11 years ago
parent 1e7b3cbb13
commit 4b8c50e2cd
  1. 5
      ethchain/transaction.go

@ -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)

Loading…
Cancel
Save