|
@ -464,7 +464,7 @@ func (data *Data) StringIndented(indent string) string { |
|
|
txStrings[i] = fmt.Sprintf("... (%v total)", len(data.Txs)) |
|
|
txStrings[i] = fmt.Sprintf("... (%v total)", len(data.Txs)) |
|
|
break |
|
|
break |
|
|
} |
|
|
} |
|
|
txStrings[i] = fmt.Sprintf("Tx:%v", tx) |
|
|
|
|
|
|
|
|
txStrings[i] = fmt.Sprintf("%X (%d bytes)", tx.Hash(), len(tx)) |
|
|
} |
|
|
} |
|
|
return fmt.Sprintf(`Data{ |
|
|
return fmt.Sprintf(`Data{ |
|
|
%s %v |
|
|
%s %v |
|
@ -504,7 +504,7 @@ func (data *EvidenceData) StringIndented(indent string) string { |
|
|
} |
|
|
} |
|
|
evStrings[i] = fmt.Sprintf("Evidence:%v", ev) |
|
|
evStrings[i] = fmt.Sprintf("Evidence:%v", ev) |
|
|
} |
|
|
} |
|
|
return fmt.Sprintf(`Data{ |
|
|
|
|
|
|
|
|
return fmt.Sprintf(`EvidenceData{ |
|
|
%s %v |
|
|
%s %v |
|
|
%s}#%v`, |
|
|
%s}#%v`, |
|
|
indent, strings.Join(evStrings, "\n"+indent+" "), |
|
|
indent, strings.Join(evStrings, "\n"+indent+" "), |
|
|