Carbon-Zero / CarbonZero

https://carbonzerocoin.com/
MIT License
5 stars 6 forks source link

Cannot set exact transaction fee #28

Open Carbon-Zero opened 5 years ago

Carbon-Zero commented 5 years ago

Describe the bug A clear and concise description of what the bug is. Since we now use transaction fees to burn coins (so that it takes the coin completely out of circulation) we have added the ability to set higher than normal transaction fees using some changes in the code and by adding -maxtxfee= on the command line. When setting the TX fee in the dialog, it doesn't set the correct fee.

To Reproduce Steps to reproduce the behavior:

  1. Go to Send
  2. Click on Custom for fees
  3. Select Minimum fee and enter the high fee (burn amount)
  4. Click Send
  5. Fee amount in send confirmation dialog will be different. Cancel the send and click send again, it will be different again.

Expected behavior At one time, and the expected behavior is, the dialog would show the fee entered in the minimum fee field as the transaction fee in the confirmation dialog.

Additional context Add any other context about the problem here. This is normally only used by admins to burn coins. Be very careful not to leave the -maxtxfee= when you are not doing this because you could lose coins which would be unrecoverable.