Browse Source
Before this commit, if the sender specified the additionalfeeoutputindex as 0, the receiver incorrectly treated this as meaning it could not decrement the change value at all (treating zero as false in Python `if`), meaning that the feerate was reduced more than intended, or in extreme cases, the payjoin fell back incorrectly because the feerate fell below the specified minfeerate. After this commit, the additionalfeeoutputindex value specified by the sender is correctly used by the receiver in all cases.master
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue