Repository navigation
Fix check_payment docstring - #1626
Conversation
Coverage Report for CI Build 27154068594Warning Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes. Coverage remained the same at 85.371%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
There was a problem hiding this comment.
Wait is this comment wrong? #1548 (comment) Nvm I got the diff reversed in my head this is removing "receiver".
Should we be adding "sender" instead? The PR description again reminds me there can't be receiver inputs. though perhaps my repeated confusion is proof that maybe its worth just adding "sender"
|
I opted for removing rather than replacing with 'sender' just because I felt like having 'sender' there gave some sort of vague impression that there are non-sender inputs. Plus the code itself doesn't do any "this is a sender input" checks, it simply checks the inputs of the fallback tx. I also think first seeing 'receiver' there biases the confusion to want to replace it with 'sender'. Happy to add 'sender' in if you feel that is the right call. |
Summary
Fixes and
check_paymentinaccurate docstring by removing reference to receiver inputs being in the fallback tx (there are not receiver inputs in the fallback tx). Inaccuracy first identified in #1548.Pull Request Checklist
Please confirm the following before requesting review:
AI
in the body of this PR.