From ecf30672fb7b77f6b32f825333226bb5b63a0f9c Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Wed, 23 Jul 2025 11:45:05 -0400 Subject: [PATCH] Fix import_wallet_response status (#175) --- src/rpc/light_wallet.cpp | 2 +- src/rpc/light_wallet.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc/light_wallet.cpp b/src/rpc/light_wallet.cpp index 84f60b2..af849a0 100644 --- a/src/rpc/light_wallet.cpp +++ b/src/rpc/light_wallet.cpp @@ -359,7 +359,7 @@ namespace lws { wire::object(dest, WIRE_FIELD_COPY(import_fee), - WIRE_FIELD_COPY(status), + WIRE_FIELD(status), WIRE_FIELD_COPY(new_request), WIRE_FIELD_COPY(request_fulfilled) ); diff --git a/src/rpc/light_wallet.h b/src/rpc/light_wallet.h index 14ec348..10a01a4 100644 --- a/src/rpc/light_wallet.h +++ b/src/rpc/light_wallet.h @@ -228,7 +228,7 @@ namespace rpc { import_response() = delete; safe_uint64 import_fee; - const char* status; + std::string status; bool new_request; bool request_fulfilled; };