Improve error message in platform API IssueTx call

This commit is contained in:
Aaron Buchwald 2020-06-12 13:48:45 -04:00
parent 26f5503a43
commit 750f7b2120
No known key found for this signature in database
GPG Key ID: C71A37CF7072977F
1 changed files with 1 additions and 1 deletions

View File

@ -1290,7 +1290,7 @@ func (service *Service) IssueTx(_ *http.Request, args *IssueTxArgs, response *Is
service.vm.unissuedAtomicTxs = append(service.vm.unissuedAtomicTxs, tx)
response.TxID = tx.ID()
default:
return errors.New("Could not parse given tx. Must not be a TimedTx, DecisionTx, or AtomicTx")
return errors.New("Could not parse given tx. Provided tx needs to be a TimedTx, DecisionTx, or AtomicTx")
}
service.vm.resetTimer()