Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJepsen committed Oct 20, 2023
1 parent 865eaa2 commit d1ff3d0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions arbiter-core/src/middleware/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,16 @@ pub struct RevmMiddleware {
wallet: EOA,
}

/// A wrapper enum for the two types of accounts that can be used with the middleware.
/// A wrapper enum for the two types of accounts that can be used with the
/// middleware.
#[derive(Debug)]
pub enum EOA {
/// The [`Forked`] variant is used for the forked EOA,
/// allowing us to treat them as mock accounts that we can still authorize transactions with
/// that we would be unable to do on mainnet.
/// allowing us to treat them as mock accounts that we can still authorize
/// transactions with that we would be unable to do on mainnet.
Forked(Address),
/// The [`Wallet`] variant "real" in the sense that is has a valid private key from the provided seed
/// The [`Wallet`] variant "real" in the sense that is has a valid private
/// key from the provided seed
Wallet(Wallet<SigningKey>),
}

Expand Down

0 comments on commit d1ff3d0

Please sign in to comment.