Skip to content

Commit

Permalink
rust format
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiGou12358 committed Aug 30, 2024
1 parent b0f6d8f commit 2bae9dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/pink-libs/subrpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ fn compute_era(block_number: u64) -> core::result::Result<Era, Error> {
///
/// An extended version of `create_transaction`, fine-grain
#[allow(clippy::too_many_arguments)]
pub fn create_transaction_ext<T: Encode>(
pub fn create_transaction_ext<T: Encode>(
signer: &[u8; 32],
public_key: &[u8; 32],
nonce: u64,
Expand All @@ -221,7 +221,7 @@ pub fn create_transaction_ext<T: Encode>(
era: Era,
tip: u128,
mode: u8,
metadata_hash: Option<[u8;32]>,
metadata_hash: Option<[u8; 32]>,
) -> core::result::Result<Vec<u8>, Error> {
let additional_params = (
spec_version,
Expand Down

0 comments on commit 2bae9dc

Please sign in to comment.