Skip to content

Commit

Permalink
Fixes type and removes clippy large enum variant
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed May 23, 2024
1 parent 9a9387e commit 69857d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion crates/namada/src/ledger/protocol/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ impl From<Error> for DispatchError {

/// Arguments for transactions' execution
pub enum DispatchArgs<'a, CA: 'static + WasmCacheAccess + Sync> {
/// Protocoli tx data
/// Protocol tx data
Protocol(&'a ProtocolTx),
/// Raw tx data
Raw {
Expand Down
1 change: 0 additions & 1 deletion crates/tx/src/data/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ impl ProtocolTx {
Deserialize,
PartialEq,
)]
#[allow(clippy::large_enum_variant)]
/// Types of protocol messages to be sent
pub enum ProtocolTxType {
/// Ethereum events contained in vote extensions that
Expand Down

0 comments on commit 69857d6

Please sign in to comment.