Page MenuHomePhabricator

Remove various calls to the Amount constructor taking satoshi as argument
ClosedPublic

Authored by deadalnix on Sep 4 2018, 16:00.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
nosatamountbuild
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3182
Build 4451: Bitcoin ABC Buildbot (legacy)
Build 4450: arc lint + arc unit

Event Timeline

jasonbcox requested changes to this revision.Sep 4 2018, 17:49
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/rpc/mining.cpp
299

Should be Amount nAmount = request.params[2].get_int64() * SATOSHI;

src/rpc/server.cpp
127

Amount amt = n * SATOSHI;

src/validation.cpp
5376

Should be Amount amountdelta = nFeeDelta * SATOSHI;

This revision now requires changes to proceed.Sep 4 2018, 17:49
jasonbcox requested changes to this revision.Sep 4 2018, 21:25
This revision now requires changes to proceed.Sep 4 2018, 21:25

COnstruct via = rather than constructor call.

This revision is now accepted and ready to land.Sep 5 2018, 16:41
This revision was automatically updated to reflect the committed changes.