jdogresorg / freewallet-desktop

Desktop wallet for Win/Mac/Linux which supports Bitcoin and Counterparty
https://freewallet.io
MIT License
67 stars 54 forks source link

Multisend issue with fee handling, size of both transactions not accounted for #204

Open MiroslavJawgotzschjawa opened 3 months ago

MiroslavJawgotzschjawa commented 3 months ago

When doing a Multisend there are 2 transactions. The first always has around 220vB, the second has more because of the data, maybe 700vB.

Freewallet now calculates and shows the fee of the whole 920vB of both transactions which is correct but then it just uses the same fee of fee*920 for both transactions and fw does not account for the size of both transactions when calculating fees.

As a result the first transaction fee is overpaid and the second transaction fee is slightly overpaid because of the extra 220vB.

It do not know if this has to be this way because of Counterparty.