From e1792c1ea521ff6c10f79d7865a027024978b629 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Tue, 16 May 2017 14:12:48 +0200 Subject: [PATCH] fix tx string format take 2 --- types/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/tx.go b/types/tx.go index b36d4440f..0334452e1 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