Skip to content

Commit

Permalink
add missing memo in become validator and change consensus keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianmarco Fraccaroli committed Jan 31, 2024
1 parent 720304b commit eabcb5d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions crates/apps/src/lib/client/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,10 @@ pub async fn submit_change_consensus_key(
)
.add_data(data);

if let Some(memo) = &tx_args.memo {
tx.add_memo(memo);
};

let signing_data =
init_validator_signing_data(namada, &tx_args, vec![new_key]).await?;

Expand Down Expand Up @@ -740,6 +744,10 @@ pub async fn submit_become_validator(
)
.add_data(data);

if let Some(memo) = &tx_args.memo {
tx.add_memo(memo);
};

let signing_data =
init_validator_signing_data(namada, &tx_args, all_pks).await?;

Expand Down

0 comments on commit eabcb5d

Please sign in to comment.