From aa41b933748a986649f15c51b4712433cb563c0a Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Tue, 25 Feb 2020 19:58:24 +0300 Subject: [PATCH] Fix documentation for "BlockBuilder::push_trusted" (#5051) * fix doc * rephrase --- substrate/client/block-builder/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/substrate/client/block-builder/src/lib.rs b/substrate/client/block-builder/src/lib.rs index 9bc14cb6e9..a93ad13783 100644 --- a/substrate/client/block-builder/src/lib.rs +++ b/substrate/client/block-builder/src/lib.rs @@ -131,8 +131,7 @@ where /// Push onto the block's list of extrinsics. /// - /// This will treat incoming extrinsic `xt` as untrusted and perform additional checks - /// (currenty checking signature). + /// This will treat incoming extrinsic `xt` as trusted and skip signature check (for signed transactions). pub fn push_trusted(&mut self, xt: ::Extrinsic) -> Result<(), ApiErrorFor> { self.push_internal(xt, true) }