1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-06-30 19:48:38 -04:00

go vet, go fmt

This commit is contained in:
2017-10-14 20:38:40 -04:00
parent f2ce7adb52
commit 85a58c3ff8
5 changed files with 4 additions and 9 deletions

View File

@ -412,8 +412,8 @@ func TransactionHandler(r *http.Request, tx *Tx) ResponseWriterWriter {
balanced, err := transaction.Balanced(tx)
if err != nil {
return NewError(999 /*Internal Error*/)
log.Print(err)
return NewError(999 /*Internal Error*/)
}
if !transaction.Valid() || !balanced {
return NewError(3 /*Invalid Request*/)