You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The inscribe command would calculate the reveal tx fee incorrectly whenever the reveal tx wasn't funded by the first output of the commit tx as is the case when you inscribe on a satpointvwith a non zero offset.
In such cases If the first output of the commit tx was much smaller than the 2nd the inscribe command would fail due to calculating a negative fee.
This commit fixes the problem and closesordinals#1844.
We have 2 outputs worth 1 million and 100k. No inscriptions, nothing locked:
We inscribe a short text message on the last sat of the bigger output. ord tells us the fee is almost a million sats:
We check the transactions and see that the fee wasn't really that big:
We confirm by checking the remaining outputs. We're only missing 394 sats:
The text was updated successfully, but these errors were encountered: