Fix comment for ttl_cutoff_height (#263)

This commit is contained in:
Quentin Le Sceller 2019-12-02 15:31:00 +01:00 committed by Yeastplume
parent f717372a75
commit 39db21d549

View file

@ -184,10 +184,11 @@ pub struct Slate {
/// Lock height /// Lock height
#[serde(with = "secp_ser::string_or_u64")] #[serde(with = "secp_ser::string_or_u64")]
pub lock_height: u64, pub lock_height: u64,
/// TTL cutoff height, after which point the transaction should be /// TTL, the block height at which wallets
/// cancelled and no further transactions accepted /// should refuse to process the transaction and unlock all
#[serde(with = "secp_ser::opt_string_or_u64")] /// associated outputs
pub ttl_cutoff_height: Option<u64>, #[serde(with = "secp_ser::string_or_u64")]
pub ttl_cutoff_height: u64,
/// Participant data, each participant in the transaction will /// Participant data, each participant in the transaction will
/// insert their public data here. For now, 0 is sender and 1 /// insert their public data here. For now, 0 is sender and 1
/// is receiver, though this will change for multi-party /// is receiver, though this will change for multi-party