mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-09-16 12:43:26 -04:00
go vet, go fmt
This commit is contained in:
@@ -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*/)
|
||||
|
Reference in New Issue
Block a user