From 2fd88b65e3749b5b39c7e44382473cf8dbca464f Mon Sep 17 00:00:00 2001 From: Duke Date: Thu, 25 Dec 2025 12:05:08 -0500 Subject: [PATCH] Be clear that 0 and 10 are included as valid donation percentages --- src/wallet/asyncrpcoperation_shieldcoinbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/asyncrpcoperation_shieldcoinbase.cpp b/src/wallet/asyncrpcoperation_shieldcoinbase.cpp index 34d87b58f..a4e4cfecc 100644 --- a/src/wallet/asyncrpcoperation_shieldcoinbase.cpp +++ b/src/wallet/asyncrpcoperation_shieldcoinbase.cpp @@ -69,7 +69,7 @@ AsyncRPCOperation_shieldcoinbase::AsyncRPCOperation_shieldcoinbase( } if (donation < 0 || donation > 10 ) { - throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid donation percentage, must be an integer between 0 and 10"); + throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid donation percentage, must be an integer between 0 and 10 inclusive"); } // Check the destination address is valid for this network i.e. not testnet being used on mainnet