diff --git a/types/tx.go b/types/tx.go index b36d4440..0334452e 100644 --- a/types/tx.go +++ b/types/tx.go @@ -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