Skip to content

fix(monero-wallet-ng): prefer not_additionally_locked() everywhere - #1195

Merged
binarybaron merged 1 commit into
masterfrom
fix/monero-wallet-ng-lock
Aug 22, 2026
Merged

fix(monero-wallet-ng): prefer not_additionally_locked() everywhere#1195
binarybaron merged 1 commit into
masterfrom
fix/monero-wallet-ng-lock

Conversation

@binarybaron

Copy link
Copy Markdown

No description provided.

@binarybaron
binarybaron merged commit f580051 into master Aug 22, 2026
63 of 77 checks passed

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 02ee48d. Configure here.

let funding_output = Scanner::new(bob_view_pair.clone())
.scan(daemon.expand_to_scannable_block(funding_block).await?)?
.ignore_additional_timelock()
.not_additionally_locked()

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Coinbase output filtered out

High Severity

Switching the funding coinbase scan to not_additionally_locked() drops the miner output, because coinbase txs still carry a non-None additional timelock (height + 60). The resulting empty vector makes swap_remove(0) panic, so the Hermes happy-path test fails.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 02ee48d. Configure here.

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.

1 participant