Skip to content

Commit

Permalink
Fix endpoint to get info from raw transaction when block index is not…
Browse files Browse the repository at this point in the history
… provided
  • Loading branch information
Ouziel committed Dec 16, 2024
1 parent c0d64fc commit 80ef2b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion counterparty-core/counterpartycore/lib/api/compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ def info(db, rawtransaction: str, block_index: int = None):
gettxinfo.get_tx_info(
db,
decoded_tx,
block_index=block_index,
block_index=block_index or util.CURRENT_BLOCK_INDEX,
)
)
except exceptions.BitcoindRPCError:
Expand Down
2 changes: 2 additions & 0 deletions release-notes/release-notes-v10.9.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

## Bugfixes

- Fix endpoint to get info from raw transaction when block index is not provided

## Codebase

- Refactor raw mempool parsing. Don't block following.
Expand Down

0 comments on commit 80ef2b1

Please sign in to comment.