From bd22c5940714580535c9131383dc784975d01bed Mon Sep 17 00:00:00 2001 From: thiagodeev Date: Fri, 27 Sep 2024 16:53:29 -0300 Subject: [PATCH] Adjusts error 53 --- rpc/errors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/errors.go b/rpc/errors.go index b11dce85..337f4d42 100644 --- a/rpc/errors.go +++ b/rpc/errors.go @@ -150,9 +150,9 @@ var ( Code: 52, Message: "Invalid transaction nonce", } - ErrInsufficientMaxFee = &RPCError{ + ErrInsufficientResourcesForValidate = &RPCError{ Code: 53, - Message: "Max fee is smaller than the minimal transaction cost (validation plus fee transfer)", + Message: "The transaction's resources don't cover validation or the minimal transaction fee", } ErrInsufficientAccountBalance = &RPCError{ Code: 54,