Skip to content

Commit

Permalink
Merge pull request #1374 from zancas/bump_toolchain_1_81
Browse files Browse the repository at this point in the history
update to 1.81 toolchain
  • Loading branch information
AloeareV authored Sep 10, 2024
2 parents b73f43f + 38db272 commit 19d31fe
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.79"
channel = "1.81"
components = [ "clippy", "rustfmt" ]
6 changes: 3 additions & 3 deletions zingocli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ fn short_circuit_on_help(params: Vec<String>) {
/// * behave correctly as a function of each parameter that may have been passed
/// * add details of above here
/// * handle parameters as efficiently as possible.
/// * If a ShortCircuitCommand
/// is specified, then the system should execute only logic necessary to support that command,
/// in other words "help" the ShortCircuitCommand _MUST_ not launch either zcashd or lightwalletd
/// * If a ShortCircuitCommand is specified, then the system should execute
/// only logic necessary to support that command, in other words "help"
/// the ShortCircuitCommand _MUST_ not launch either zcashd or lightwalletd
impl ConfigTemplate {
fn fill(matches: clap::ArgMatches) -> Result<Self, String> {
let is_regtest = matches.get_flag("regtest"); // Begin short_circuit section
Expand Down
2 changes: 1 addition & 1 deletion zingolib/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ impl ZingoConfig {
use std::time::{SystemTime, UNIX_EPOCH};

let mut backup_file_path = self.get_zingo_wallet_dir().into_path_buf();
backup_file_path.push(&format!(
backup_file_path.push(format!(
"zingo-wallet.backup.{}.dat",
SystemTime::now()
.duration_since(UNIX_EPOCH)
Expand Down
5 changes: 3 additions & 2 deletions zingolib/src/testutils/assertions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ use zingo_status::confirmation_status::ConfirmationStatus;
/// 1. len of txids == num steps
/// 2. the txid is stored in the records_by_ids database
/// 3. if the fee from the calculate_transaction_fee matches the sum of the per-step fees
/// this currently fails for any broadcast but not confirmed transaction: it seems like get_transaction_fee does not recognize pending spends
/// returns the total fee for the transfer
/// this currently fails for any broadcast but not confirmed transaction: it seems like
/// get_transaction_fee does not recognize pending spends returns the total fee for the
/// transfer
pub async fn assert_record_fee_and_status<NoteId>(
client: &LightClient,
proposal: &Proposal<zcash_primitives::transaction::fees::zip317::FeeRule, NoteId>,
Expand Down
2 changes: 1 addition & 1 deletion zingolib/src/testutils/chain_generics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//! darkside known issues:
//! - transparent
//! - txids

//!
//! libtonode known issues:
//! - mempool

Expand Down

0 comments on commit 19d31fe

Please sign in to comment.