HomePhabricator

Update amount's modulo to be the proper type.

Description

Update amount's modulo to be the proper type.

Summary:
Computer define division and modulo such as

b * (a / b) + a % b = a

It follows that a % b is the same type as a.

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox, teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1702

Details

Provenance
deadalnixAuthored on Sep 3 2018, 14:11
deadalnixPushed on Sep 4 2018, 17:40
Reviewer
Restricted Project
Differential Revision
D1702: Update amount's modulo to be the proper type.
Parents
rABC6208d0b4eeac: Use TxId in CWallet::IsLockedCoin
Branches
Unknown
Tags
Unknown