Skip to content

Commit

Permalink
Remove reference from State getAccounts
Browse files Browse the repository at this point in the history
  • Loading branch information
itamarcps committed Feb 8, 2024
1 parent 9df9040 commit 88d8579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/state.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class State {
uint64_t getNativeNonce(const Address& addr) const;

/// Getter for `accounts`. Returns a copy.
const std::unordered_map<Address, Account, SafeHash>& getAccounts() const;
const std::unordered_map<Address, Account, SafeHash> getAccounts() const;

/// Getter for `mempool`. Returns a copy.
const std::unordered_map<Hash, TxBlock, SafeHash> getMempool() const;
Expand Down

0 comments on commit 88d8579

Please sign in to comment.