From 8f11c4263563368256d25623837f06abcdd03a0d Mon Sep 17 00:00:00 2001 From: emostov <32168567+emostov@users.noreply.github.com> Date: Mon, 14 Dec 2020 14:53:59 -0800 Subject: [PATCH] Update comment --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 98742e0220..c9332ea804 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -197,10 +197,10 @@ impl ClientBuilder { /// Construction options for a signed extrinsic #[derive(Copy, Clone)] struct ClientSignedOptions { - /// The period, measured in blocks, that transaction will live for, starting from a checkpoint + /// The period, measured in blocks, that an extrinsic will live for, starting from a checkpoint /// block. /// - /// Logical encoding rules: + /// Rules for how the period will be encoded in an extrinsic: /// `mortal_period == None`: immortal transaction /// `0 <= mortal_period <= 65536`: rounded up to the closest power of 2, starting at 4 /// `65536 < mortal_period`: Min(65536, mortal_period) @@ -296,7 +296,7 @@ impl Client { &self.properties } - /// Returns the current mortal_period configuration + /// Returns the current mortal_period pub fn mortal_period(&self) -> &Option { &self.signed_options.mortal_period }