From e67922b5e69368976d431ff9eaadf810238dc8e1 Mon Sep 17 00:00:00 2001 From: Luke Van Seters Date: Sun, 11 Jul 2021 12:06:23 -0400 Subject: [PATCH] Fix typo in cache_directory --- block.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/block.py b/block.py index 6e45b69..ede2bf3 100644 --- a/block.py +++ b/block.py @@ -2,7 +2,7 @@ from web3 import Web3 from pathlib import Path import json -cache_directoty = './cache' +cache_directory = './cache' class BlockData: def __init__(self, block_number, data, receipts, calls, logs, txs_gas_data) -> None: @@ -13,7 +13,6 @@ class BlockData: self.logs = logs self.transaction_hashes = self.get_transaction_hashes() self.txs_gas_data = txs_gas_data - pass ## Gets a list of unique transasction hashes in the calls of this block def get_transaction_hashes(self): @@ -108,4 +107,4 @@ def createFromBlockNumber(block_number, base_provider): ## Write the result to a JSON file for loading in the future block.writeJSON() - return block \ No newline at end of file + return block