nFeePaid can be overflow. #76
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Core-Wallets/monacoin#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From @wakiyamap https://github.com/monacoinproject/monacoin/pull/72#discussion_r458445040
I suggested code like this.
But It will still overflow in case nFeePaid == INT64_MAX and nSize < 1000.
So my next plan is.
I suspect this issue is a nit pick. But I can send PR if required.
@wakiyamap @pendingbot
Test snippet.
The result on my terminal.
Fixed by
31d7ea3.