From 877ae8b6771786fd0400cf957dd6273fd67f2a59 Mon Sep 17 00:00:00 2001 From: alex v Date: Sun, 15 Dec 2024 17:44:10 +0100 Subject: [PATCH] fix sendtoblsctaddress --- src/blsct/wallet/rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blsct/wallet/rpc.cpp b/src/blsct/wallet/rpc.cpp index cd30076709f14..b731ce888554a 100644 --- a/src/blsct/wallet/rpc.cpp +++ b/src/blsct/wallet/rpc.cpp @@ -526,7 +526,7 @@ RPCHelpMan sendtoblsctaddress() if (!request.params[2].isNull() && !request.params[2].get_str().empty()) sMemo = request.params[2].get_str(); - const std::string address = request.params[1].get_str(); + const std::string address = request.params[0].get_str(); const bool verbose{request.params[3].isNull() ? false : request.params[10].get_bool()};