Skip to content

Commit

Permalink
clippy & unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hansieodendaal committed Dec 10, 2024
1 parent e2eb8bf commit a57b8af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions applications/minotari_console_wallet/src/wallet_modes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -544,10 +544,10 @@ mod test {
discover-peer f6b2ca781342a3ebe30ee1643655c96f1d7c14f4d49f077695395de98ae73665
send-minotari --message Our_secret! 125T \
send-minotari --payment-id Our_secret! 125T \
f425UWsDp714RiN53c1G6ek57rfFnotB5NCMyrn4iDgbR8i2sXVHa4xSsedd66o9KmkRgErQnyDdCaAdNLzcKrj7eUb
burn-minotari --message Ups_these_funds_will_be_burned! 100T
burn-minotari --payment-id Ups_these_funds_will_be_burned! 100T
pre-mine-spend-get-output-status
Expand All @@ -571,10 +571,10 @@ mod test {
--input-file-names=step_4_for_leader_from_alice.txt --input-file-names=step_4_for_leader_from_bob.txt \
--input-file-names=step_4_for_leader_from_carol.txt
coin-split --message Make_many_dust_UTXOs! --fee-per-gram 2 0.001T 499
coin-split --payment-id Make_many_dust_UTXOs! --fee-per-gram 2 0.001T 499
make-it-rain --duration 100 --transactions-per-second 10 --start-amount 0.009200T --increase-amount 0T \
--start-time now --message Stressing_it_a_bit...!_(from_Feeling-a-bit-Generous) \
--start-time now --payment-id Stressing_it_a_bit...!_(from_Feeling-a-bit-Generous) \
f425UWsDp714RiN53c1G6ek57rfFnotB5NCMyrn4iDgbR8i2sXVHa4xSsedd66o9KmkRgErQnyDdCaAdNLzcKrj7eUb
export-tx 123456789 --output-file pie.txt
Expand Down
2 changes: 2 additions & 0 deletions integration_tests/tests/steps/wallet_steps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2217,6 +2217,7 @@ async fn send_one_sided_stealth_transaction(
}

#[then(expr = "I import {word} unspent outputs to {word}")]
#[allow(clippy::too_many_lines)]
async fn import_wallet_unspent_outputs(world: &mut TariWorld, wallet_a: String, wallet_b: String) {
let wallet_a_ps = world.wallets.get_mut(&wallet_a).unwrap();

Expand Down Expand Up @@ -2339,6 +2340,7 @@ async fn import_wallet_unspent_outputs(world: &mut TariWorld, wallet_a: String,
}

#[then(expr = "I import {word} spent outputs to {word}")]
#[allow(clippy::too_many_lines)]
async fn import_wallet_spent_outputs(world: &mut TariWorld, wallet_a: String, wallet_b: String) {
let wallet_a_ps = world.wallets.get_mut(&wallet_a).unwrap();

Expand Down

0 comments on commit a57b8af

Please sign in to comment.