Fix Transaction.SetID

This commit is contained in:
Ivan Kuznetsov 2017-09-08 10:09:04 +07:00
parent 6b400109e9
commit e6eed1105f
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func (tx Transaction) String() string {
}
// SetID sets ID of a transaction
func (tx Transaction) SetID() {
func (tx *Transaction) SetID() {
var encoded bytes.Buffer
var hash [32]byte