From 23a54370afb437f9fdd19fc084acb5de26fc587d Mon Sep 17 00:00:00 2001 From: Oleh Nikolaiev Date: Wed, 22 Nov 2023 17:56:45 +0000 Subject: [PATCH] #1702 change [] to at() --- libethereum/Client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/Client.h b/libethereum/Client.h index 415e4d126..3bf2015c4 100644 --- a/libethereum/Client.h +++ b/libethereum/Client.h @@ -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(); }