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 {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user