What changed, and why it matters
This is a one-line change in a test file, renaming a dictionary key from 'blinding' to 'path_key' to match what the production code now expects. It does not change any production code and has no direct security impact on users.
No action required; this is a test-only fix. Review the preceding commit only if you want to understand why the production field was renamed.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit updates tests/test_onion_message.py so that a mock onion-message payload uses the key ‘path_key’ instead of ‘blinding’. This is a test-only follow-up to a previous change that renamed the field in the real implementation. No runtime code is modified.
Changed components
tests/test_onion_message.pyInspect captured patch +1 / −1
diff --git a/tests/test_onion_message.py b/tests/test_onion_message.py
index 9f6a65f..d8e65b9 100644
--- a/tests/test_onion_message.py
+++ b/tests/test_onion_message.py
@@ -434,7 +434,7 @@ class TestOnionMessageManager(ElectrumTestCase):
onionmsg = bfh(test_vectors['onionmessage']['onion_message_packet'])
try:
t.on_onion_message({
- 'blinding': bfh(test_vectors['route']['first_path_key']),
+ 'path_key': bfh(test_vectors['route']['first_path_key']),
'len': len(onionmsg),
'onion_message_packet': onionmsg
})
Why this scored 12/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.