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 GitHub
parent 666be95001
commit 04b5322005
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)))
);
}