From 319049640268a222bbc8d4c0b1faed4d85cef16c Mon Sep 17 00:00:00 2001 From: Yeastplume Date: Thu, 17 Oct 2019 10:32:58 +0100 Subject: [PATCH] Cherry pick #242 (#243) --- libwallet/src/types.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libwallet/src/types.rs b/libwallet/src/types.rs index 3ff85df5..3ff5d553 100644 --- a/libwallet/src/types.rs +++ b/libwallet/src/types.rs @@ -760,9 +760,11 @@ pub struct TxLogEntry { pub stored_tx: Option, /// Associated kernel excess, for later lookup if necessary #[serde(with = "secp_ser::option_commitment_serde")] + #[serde(default)] pub kernel_excess: Option, /// Height reported when transaction was created, if lookup /// of kernel is necessary + #[serde(default)] pub kernel_lookup_min_height: Option, }