fix tx string format

This commit is contained in:
Ethan Buchman 2017-05-16 14:00:54 +02:00
parent eb9ca23250
commit d5113377e2

View File

@ -21,7 +21,7 @@ func (tx Tx) Hash() []byte {
} }
func (tx Tx) String() string { func (tx Tx) String() string {
return fmt.Sprintf("Tx{%X}") return fmt.Sprintf("Tx{%X}", tx)
} }
type Txs []Tx type Txs []Tx