From 0ebb8b148567afee39f492f09b3eabd7b647e972 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Tue, 25 Feb 2020 17:26:46 +0300 Subject: [PATCH 1/2] fix doc --- client/block-builder/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/block-builder/src/lib.rs b/client/block-builder/src/lib.rs index 9bc14cb6e9e1a..d04537600fd9e 100644 --- a/client/block-builder/src/lib.rs +++ b/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 any signature checks within it. pub fn push_trusted(&mut self, xt: ::Extrinsic) -> Result<(), ApiErrorFor> { self.push_internal(xt, true) } From 99ba19a328ad897c230522678f70e866d9b88c61 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Tue, 25 Feb 2020 18:10:25 +0300 Subject: [PATCH 2/2] rephrase --- client/block-builder/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/block-builder/src/lib.rs b/client/block-builder/src/lib.rs index d04537600fd9e..a93ad137835ed 100644 --- a/client/block-builder/src/lib.rs +++ b/client/block-builder/src/lib.rs @@ -131,7 +131,7 @@ where /// Push onto the block's list of extrinsics. /// - /// This will treat incoming extrinsic `xt` as trusted and skip any signature checks within it. + /// 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) }