Skip to content

Fix empty block fee rate calculation#552

Merged
rustaceanrob merged 1 commit into2140-dev:masterfrom
randomlogin:fix-empty-block-fees
Mar 11, 2026
Merged

Fix empty block fee rate calculation#552
rustaceanrob merged 1 commit into2140-dev:masterfrom
randomlogin:fix-empty-block-fees

Conversation

@randomlogin
Copy link
Contributor

@randomlogin randomlogin commented Mar 11, 2026

Previously could panic if encountered an empty block.

@rustaceanrob
Copy link
Collaborator

Did you hit a panic on regtest?

@randomlogin
Copy link
Contributor Author

Did you hit a panic on regtest?

Yes. Can it happen on a live network too?

Previously could panic (and panicked!) if encountered an empty block.
@rustaceanrob rustaceanrob force-pushed the fix-empty-block-fees branch from bc49f2b to f1d4b17 Compare March 11, 2026 13:10
@rustaceanrob
Copy link
Collaborator

Can it happen on a live network too?

Likely. I fixed the formatting error and force pushed your branch. Good catch man thanks.

@rustaceanrob rustaceanrob merged commit 295dc0c into 2140-dev:master Mar 11, 2026
10 checks passed
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.

2 participants