Update spacing of summary

This commit is contained in:
Eric Meyer 2017-11-27 08:54:30 -06:00
parent ac940b5bae
commit 90edd15ead

View File

@ -16,10 +16,10 @@ func GenerateConsoleOutput(summary *ContractSummary) string {
func template() string { func template() string {
return `********************Contract Summary*********************** return `********************Contract Summary***********************
HASH: %v HASH: %v
NUMBER OF TRANSACTIONS: %d NUMBER OF TRANSACTIONS: %d
LAST TRANSACTION: LAST TRANSACTION:
%s %s
` `
} }
@ -28,7 +28,7 @@ func transactionToString(transaction *core.Transaction) string {
return "NONE" return "NONE"
} else { } else {
return fmt.Sprintf(`Hash: %s return fmt.Sprintf(`Hash: %s
To: %s To: %s
From: %s`, transaction.Hash, transaction.To, transaction.From) From: %s`, transaction.Hash, transaction.To, transaction.From)
} }
} }