mempool: reword ErrConflict
message, fix #2197
Make it more user-friendly. Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
cfeaeb0f07
commit
e6aa9b76ee
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ var (
|
|||
// ErrConflict is returned when transaction being added is incompatible
|
||||
// with the contents of the memory pool (Sender doesn't have enough GAS
|
||||
// to pay for all transactions in the pool).
|
||||
ErrConflict = errors.New("conflicts with the memory pool")
|
||||
ErrConflict = errors.New("conflicts: insufficient funds for all pooled tx")
|
||||
// ErrDup is returned when transaction being added is already present
|
||||
// in the memory pool.
|
||||
ErrDup = errors.New("already in the memory pool")
|
||||
|
|
Loading…
Reference in a new issue