Skip to content

Commit

Permalink
chore: make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksuss committed Jul 8, 2024
1 parent 35834ed commit 0a21f22
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/cli/advanced/near.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use aurora_engine_types::{
H256, U256,
};
use clap::Subcommand;
use near_primitives::version::PROTOCOL_VERSION;
use near_primitives::{
account::{AccessKey, Account},
hash::CryptoHash,
Expand Down Expand Up @@ -652,7 +653,14 @@ pub async fn execute_command(
};
let aurora_account_record = StateRecord::Account {
account_id: aurora_id.clone(),
account: Account::new(aurora_amount, 0, CryptoHash::default(), 0),
account: Account::new(
aurora_amount,
0,
0,
CryptoHash::default(),
0,
PROTOCOL_VERSION,
),
};
records.0.push(aurora_key_record);
records.0.push(aurora_account_record);
Expand Down

0 comments on commit 0a21f22

Please sign in to comment.