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

get_transaction_by_metadata_id now ignores invalid transactions #811

Merged

Conversation

r-marques
Copy link
Contributor

resolves #792

@codecov-io
Copy link

codecov-io commented Nov 11, 2016

Current coverage is 96.85% (diff: 100%)

Merging #811 into master will increase coverage by 0.12%

@@             master       #811   diff @@
==========================================
  Files            26         26          
  Lines          1682       1687     +5   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           1627       1634     +7   
+ Misses           55         53     -2   
  Partials          0          0          

Sunburst

Powered by Codecov. Last update 950ce91...547ad32

txids = self.backend.get_txids_by_metadata_id(metadata_id)
transactions = []
for txid in txids:
tx = self.get_transaction(txid)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe a small comment here that self.get_transaction returns None for invalid tx's

@r-marques r-marques merged commit 8772fcb into master Nov 18, 2016
@vrde vrde deleted the feat/792/get-txs-by-metadata-id-ignore-invalid-blocks branch March 21, 2018 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All backend implementations of get_transactions_by_metadata_id() should ignore invalid blocks
4 participants