Fix documentation for "BlockBuilder::push_trusted" (#5051)

* fix doc

* rephrase
This commit is contained in:
Nikolay Volf
2020-02-25 19:58:24 +03:00
committed by GitHub
parent e2d50d558b
commit aa41b93374
+1 -2
View File
@@ -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: <Block as BlockT>::Extrinsic) -> Result<(), ApiErrorFor<A, Block>> {
self.push_internal(xt, true)
}