From 2bab9177003576a9c25b7788880d8157e8053a83 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Thu, 19 Jun 2025 14:35:11 +0400 Subject: [PATCH] fixed typo --- src/wallet/plain_wallet_api.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index 943cd133..eceb536e 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -604,8 +604,9 @@ namespace plain_wallet { PLAIN_WALLET_BEGIN_TRY_ENTRY(); GET_INSTANCE_PTR(inst_ptr); - return inst_ptr->gwm.invoke(h, params); - tools::sanitize_utf8(params); + std::string res = inst_ptr->gwm.invoke(h, params); + tools::sanitize_utf8(res); + return res; PLAIN_WALLET_CATCH(); }