Make arrays optional in light_wallet_server api (#95)

This commit is contained in:
Lee *!* Clagett 2024-03-16 21:40:25 -04:00 committed by Lee *!* Clagett
parent 351ccaa872
commit ffdd8da2a9

View file

@ -273,7 +273,7 @@ namespace lws
WIRE_FIELD_COPY(start_height),
WIRE_FIELD_COPY(transaction_height),
WIRE_FIELD_COPY(blockchain_height),
wire::field("transactions", wire::array(boost::adaptors::index(self.transactions)))
wire::optional_field("transactions", wire::array(boost::adaptors::index(self.transactions)))
);
}