From fa4bb4cad3262d4209ec5021254faf2933af9d0d Mon Sep 17 00:00:00 2001 From: Nazarii-4chain Date: Tue, 30 Jan 2024 12:50:27 +0200 Subject: [PATCH] Changed error message --- errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors.go b/errors.go index 17562034..6beabed5 100644 --- a/errors.go +++ b/errors.go @@ -104,7 +104,7 @@ var ErrUtxoNotReserved = errors.New("transaction utxo has not been reserved for var ErrDraftIDMismatch = errors.New("transaction draft id does not match utxo draft reservation id") // ErrMissingTxHex is when the hex is missing or invalid and creates an empty id -var ErrMissingTxHex = errors.New("transaction hex is empty or id is missing") +var ErrMissingTxHex = errors.New("transaction hex is invalid or id is missing") // ErrMissingBlockHeaderHash is when the hash is missing or invalid and creates an empty id var ErrMissingBlockHeaderHash = errors.New("block header hash is empty or id is missing")