Skip to content

Commit

Permalink
Fix comment for ttl_cutoff_height (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinlesceller authored and yeastplume committed Dec 2, 2019
1 parent f717372 commit 39db21d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libwallet/src/slate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u64>,
/// 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
Expand Down

0 comments on commit 39db21d

Please sign in to comment.