Add support for from_height in /import_wallet_request

This commit is contained in:
Lee *!* Clagett
2025-11-03 22:44:12 -05:00
parent fc361c25b3
commit cbfa07e467
3 changed files with 18 additions and 1 deletions
+9
View File
@@ -433,6 +433,15 @@ namespace lwsf { namespace internal { namespace rpc
}
void write_bytes(wire::json_writer& source, const import_request& self)
{
wire::object(source,
wire::field("address", std::cref(self.creds.address)),
wire::field("view_key", std::cref(self.creds.view_key)),
WIRE_FIELD(from_height)
);
}
void read_bytes(wire::json_reader& source, import_response& self)
{
wire::object(source,