Browse Source

fix tx string format take 2

pull/503/head
Ethan Buchman 7 years ago
parent
commit
e1792c1ea5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      types/tx.go

+ 1
- 1
types/tx.go 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


Loading…
Cancel
Save