hirosystems / ordhook

Build indexers, standards and protocols on top of Ordinals and Inscriptions (BRC20, etc).
Apache License 2.0
182 stars 54 forks source link

fix: also check config when looking for brc20 db connection #347

Closed rafaelcr closed 1 month ago

rafaelcr commented 1 month ago

If an ordhook config toml did not include brc20 = true, a BRC-20 DB connection was still attempted

Fixes #324 Fixes #326

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 10 lines in your changes missing coverage. Please review. Files Patch % Lines
components/ordhook-cli/src/cli/mod.rs 0.00% 4 Missing :warning:
components/ordhook-core/src/scan/bitcoin.rs 0.00% 4 Missing :warning:
components/ordhook-core/src/core/mod.rs 0.00% 1 Missing :warning:
components/ordhook-core/src/lib.rs 0.00% 1 Missing :warning:

:loudspeaker: Thoughts on this report? Let us know!