Skip to content

Commit

Permalink
#1702 change [] to at()
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Nov 22, 2023
1 parent c8921f6 commit 23a5437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libethereum/Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class Client : public ClientBase, protected Worker {
std::string getHistoricNodeIndex( unsigned _idx ) const {
return chainParams()
.sChain.nodeGroups.at( historicGroupIndex )
.nodes[_idx]
.nodes.at( _idx )
.schainIndex.str();
}

Expand Down

0 comments on commit 23a5437

Please sign in to comment.