fix tx string format take 2

This commit is contained in:
Ethan Buchman
2017-05-16 14:12:48 +02:00
parent d5113377e2
commit e1792c1ea5

View File

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