var (
ErrInsufficient = errors.New("reservation found insufficient funds")
ErrImmature = errors.New("reservation found immature funds")
+ ErrVoteLock = errors.New("Locked by the vote")
ErrReserved = errors.New("reservation found outputs already reserved")
ErrMatchUTXO = errors.New("can't find utxo with given hash")
ErrReservation = errors.New("couldn't find reservation")
}
if optAmount+reservedAmount < amount {
+ if vote != nil {
+ return nil, ErrVoteLock
+ }
return nil, ErrImmature
}
txbuilder.ErrOrphanTx: {400, "BTM712", "Transaction input UTXO not found"},
txbuilder.ErrExtTxFee: {400, "BTM713", "Transaction fee exceeded max limit"},
txbuilder.ErrNoGasInput: {400, "BTM714", "Transaction has no gas input"},
+ account.ErrVoteLock: {400, "BTM715", "Locked by the vote"},
// Submit transaction error namespace (73x ~ 79x)
// Validation error (73x ~ 75x)