Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Issue with write ledger pool when performing Accumulator sync #2480

Merged
merged 2 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion aries_cloudagent/revocation/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,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
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudagent/tails/indy_tails_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down