From 8ea97c18c5fc73d631317a60c42e3568d375bfe0 Mon Sep 17 00:00:00 2001 From: toktar Date: Wed, 23 Jan 2019 12:30:04 +0300 Subject: [PATCH] INDY-1920: update validator-info Signed-off-by: toktar --- scripts/validator-info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/validator-info b/scripts/validator-info index 1ee360164..07843f464 100755 --- a/scripts/validator-info +++ b/scripts/validator-info @@ -275,8 +275,8 @@ class TransactionsStats(BaseUnknown): def __iter__(self): return iter(self.val) - def __getitem__(self, item): - return self.val + def __getitem__(self, key): + return self.val[key] def __setitem__(self, key, value): self.val[key] = value