Typo in session

This commit is contained in:
nolash 2021-07-14 23:17:32 +02:00
parent e9886dbb3e
commit 6f3069b90c
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ class DispatchSyncer:
tx = unpack(tx_raw_bytes, self.chain_spec)
try:
set_reserved(self.chain_spec, tx['hash'], session=session)
set_reserved(self.chain_spec, tx['hash'], session=self.session)
self.session.commit()
except NotLocalTxError as e:
logg.warning('dispatcher was triggered with non-local tx {}'.format(tx['hash']))

View File

@ -21,7 +21,7 @@ def test_translate(
cic_registry,
init_celery_tasks,
register_lookups,
celery_worker,
celery_session_worker,
):
nonce_oracle = RPCNonceOracle(contract_roles['CONTRACT_DEPLOYER'], eth_rpc)