From 39db21d5496523c5cb0524e30109b60fa2b04541 Mon Sep 17 00:00:00 2001 From: Quentin Le Sceller Date: Mon, 2 Dec 2019 15:31:00 +0100 Subject: [PATCH] Fix comment for ttl_cutoff_height (#263) --- libwallet/src/slate.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libwallet/src/slate.rs b/libwallet/src/slate.rs index e94ecb7c..e9c7df11 100644 --- a/libwallet/src/slate.rs +++ b/libwallet/src/slate.rs @@ -184,10 +184,11 @@ pub struct Slate { /// Lock height #[serde(with = "secp_ser::string_or_u64")] pub lock_height: u64, - /// TTL cutoff height, after which point the transaction should be - /// cancelled and no further transactions accepted - #[serde(with = "secp_ser::opt_string_or_u64")] - pub ttl_cutoff_height: Option, + /// TTL, the block height at which wallets + /// should refuse to process the transaction and unlock all + /// associated outputs + #[serde(with = "secp_ser::string_or_u64")] + pub ttl_cutoff_height: u64, /// Participant data, each participant in the transaction will /// insert their public data here. For now, 0 is sender and 1 /// is receiver, though this will change for multi-party