From f356ca38e4b6bbf7f58be0171d47bd3ffbd462bf Mon Sep 17 00:00:00 2001 From: emostov <32168567+emostov@users.noreply.github.com> Date: Tue, 15 Dec 2020 18:30:38 -0800 Subject: [PATCH] Link to substrate reference for mortal period --- src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index c9332ea804..b775680af3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -200,10 +200,8 @@ struct ClientSignedOptions { /// The period, measured in blocks, that an extrinsic will live for, starting from a checkpoint /// block. /// - /// 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) + /// Substrate reference: + /// https://docs.rs/sp-runtime/2.0.0/sp_runtime/generic/enum.Era.html#variant.Mortal pub mortal_period: Option, }