forked from cerc-io/ipld-eth-server
Update spacing of summary
This commit is contained in:
parent
ac940b5bae
commit
90edd15ead
@ -16,10 +16,10 @@ func GenerateConsoleOutput(summary *ContractSummary) string {
|
||||
|
||||
func template() string {
|
||||
return `********************Contract Summary***********************
|
||||
HASH: %v
|
||||
NUMBER OF TRANSACTIONS: %d
|
||||
LAST TRANSACTION:
|
||||
%s
|
||||
HASH: %v
|
||||
NUMBER OF TRANSACTIONS: %d
|
||||
LAST TRANSACTION:
|
||||
%s
|
||||
`
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ func transactionToString(transaction *core.Transaction) string {
|
||||
return "NONE"
|
||||
} else {
|
||||
return fmt.Sprintf(`Hash: %s
|
||||
To: %s
|
||||
From: %s`, transaction.Hash, transaction.To, transaction.From)
|
||||
To: %s
|
||||
From: %s`, transaction.Hash, transaction.To, transaction.From)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user