Cherry pick #242 (#243)

This commit is contained in:
Yeastplume 2019-10-17 10:32:58 +01:00 committed by GitHub
parent b4eeb50c66
commit 3190496402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -760,9 +760,11 @@ pub struct TxLogEntry {
pub stored_tx: Option<String>,
/// Associated kernel excess, for later lookup if necessary
#[serde(with = "secp_ser::option_commitment_serde")]
#[serde(default)]
pub kernel_excess: Option<pedersen::Commitment>,
/// Height reported when transaction was created, if lookup
/// of kernel is necessary
#[serde(default)]
pub kernel_lookup_min_height: Option<u64>,
}