Skip to content

Commit

Permalink
derive Clone on accountoverrides
Browse files Browse the repository at this point in the history
  • Loading branch information
segfaultdoc committed Oct 13, 2023
1 parent dd9242f commit d992ca5
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 d992ca5

Please sign in to comment.