Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#333 remove filling db to lent indexer work properly
  • Loading branch information
otselnik committed Dec 1, 2021
commit 98705e9ea9eb0e61bf64d10481a1680b6c1db688
6 changes: 0 additions & 6 deletions proxy/plugin/solana_rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def __init__(self):
self.logs_db = LogDB()
self.blocks_by_hash = SQLDict(tablename="solana_blocks_by_hash")
self.ethereum_trx = SQLDict(tablename="ethereum_transactions")
self.eth_sol_trx = SQLDict(tablename="ethereum_solana_transactions")
self.sol_eth_trx = SQLDict(tablename="solana_ethereum_transactions")

with proxy_id_glob.get_lock():
Expand Down Expand Up @@ -459,12 +458,7 @@ def eth_sendRawTransaction(self, rawTrx):
'return_value': None,
'from_address': '0x'+sender,
}
self.eth_sol_trx[eth_signature] = [signature]
self.blocks_by_hash[block_hash] = slot
self.sol_eth_trx[signature] = {
'idx': 0,
'eth': eth_signature,
}
except Exception as err:
logger.debug(err)

Expand Down