Skip to content

Commit

Permalink
fixup! Merge branch 'grarco/masp-custom-epoch' (#3318)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Jun 3, 2024
1 parent 59362ed commit 480b66a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/apps_lib/src/client/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ pub async fn submit_shielding_transfer(
{
let submission_masp_epoch = rpc::query_and_print_masp_epoch(namada).await;
// And its submission epoch doesn't match construction epoch
if tx_epoch.unwrap() != submission_masp_epoch {
if tx_epoch != submission_masp_epoch {
// Then we probably straddled an epoch boundary. Let's retry...
edisplay_line!(namada.io(),
"Shielding transaction rejected and this may be due to the \
Expand Down
2 changes: 1 addition & 1 deletion crates/sdk/src/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2989,7 +2989,7 @@ pub async fn build_shielded_transfer<N: Namada>(
pub async fn build_shielding_transfer<N: Namada>(
context: &N,
args: &mut args::TxShieldingTransfer,
) -> Result<(Tx, SigningTxData, Epoch)> {
) -> Result<(Tx, SigningTxData, MaspEpoch)> {
let source = &args.source;
let default_signer = Some(source.clone());
let signing_data = signing::aux_signing_data(
Expand Down

0 comments on commit 480b66a

Please sign in to comment.