Skip to content

Commit

Permalink
disambiguate error strings
Browse files Browse the repository at this point in the history
  • Loading branch information
zancas committed May 6, 2024
1 parent 8a73d3c commit 706f986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zingolib/src/lightclient/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ pub enum DoSendProposedError {
SaplingParams(String),
#[error("Could not find UnifiedSpendKey: {0}")]
UnifiedSpendKey(std::io::Error),
#[error("No proposal. Call do_propose first.")]
#[error("Can't Calculate! No proposal. Call do_propose first?")]
Calculation(
zcash_client_backend::data_api::error::Error<
crate::wallet::tx_map_and_maybe_trees::TxMapAndMaybeTreesTraitError,
Expand All @@ -191,6 +191,6 @@ pub enum DoSendProposedError {
pub enum DoQuickSendProposedError {
#[error("propose {0}")]
Propose(crate::lightclient::propose::DoProposeError),
#[error("No proposal. Call do_propose first.")]
#[error("Can't QuickSend! No proposal. Call do_propose first.")]
Send(DoSendProposedError),
}

0 comments on commit 706f986

Please sign in to comment.