Open ghost opened 2 years ago
As per written by
https://github.com/OutCast3k/coinbin/issues/239, https://github.com/OutCast3k/coinbin/issues/240,
Fees should be calculated by the weight size of the transaction, not the type of input value ( If I understanding it correctly )
Example:
https://github.com/spesmilo/electrum/blame/master/electrum/transaction.py#L974
I think this example is much clear
https://github.com/mempool/mempool/blob/master/frontend/src/app/bitcoin.utils.ts
As per written by
https://github.com/OutCast3k/coinbin/issues/239, https://github.com/OutCast3k/coinbin/issues/240,
Fees should be calculated by the weight size of the transaction, not the type of input value ( If I understanding it correctly )
Example:
https://github.com/spesmilo/electrum/blame/master/electrum/transaction.py#L974