mirror of https://github.com/poanetwork/gecko.git
Improve error message in platform API IssueTx call
This commit is contained in:
parent
26f5503a43
commit
750f7b2120
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue