Skip to content

Commit

Permalink
derive Clone on accountoverrides (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
segfaultdoc authored Oct 13, 2023
1 parent dd9242f commit 8cadc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts-db/src/account_overrides.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use {
};

/// Encapsulates overridden accounts, typically used for transaction simulations
#[derive(Default)]
#[derive(Clone, Default)]
pub struct AccountOverrides {
accounts: HashMap<Pubkey, AccountSharedData>,
}
Expand Down

0 comments on commit 8cadc34

Please sign in to comment.