diff --git a/aries_cloudagent/revocation/routes.py b/aries_cloudagent/revocation/routes.py index 96cf06060b..51ea8a2bba 100644 --- a/aries_cloudagent/revocation/routes.py +++ b/aries_cloudagent/revocation/routes.py @@ -901,7 +901,7 @@ async def update_rev_reg_revoked_state(request: web.BaseRequest): available_write_ledgers = await ledger_manager.get_write_ledgers() LOGGER.debug(f"available write_ledgers = {available_write_ledgers}") LOGGER.debug(f"write_ledger = {write_ledger}") - pool = write_ledger[1].pool + pool = write_ledger.pool LOGGER.debug(f"write_ledger pool = {pool}") genesis_transactions = pool.genesis_txns diff --git a/aries_cloudagent/tails/indy_tails_server.py b/aries_cloudagent/tails/indy_tails_server.py index 04b9ab9b78..6118e641a5 100644 --- a/aries_cloudagent/tails/indy_tails_server.py +++ b/aries_cloudagent/tails/indy_tails_server.py @@ -47,7 +47,7 @@ async def upload_tails_file( available_write_ledgers = await ledger_manager.get_write_ledgers() LOGGER.debug(f"available write_ledgers = {available_write_ledgers}") LOGGER.debug(f"write_ledger = {write_ledger}") - pool = write_ledger[1].pool + pool = write_ledger.pool LOGGER.debug(f"write_ledger pool = {pool}") genesis_transactions = pool.genesis_txns