Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fix documentation for "BlockBuilder::push_trusted" #5051

Merged
merged 2 commits into from
Feb 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions client/block-builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down