HomePhabricator

[refactor] deduplicate AmountFromValue

Description

[refactor] deduplicate AmountFromValue

Summary: just use the one defined in rpc/util.h and add a catch block for thrown UniValues in bitcoin-tx

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
majcostaAuthored on Jun 6 2021, 20:32
majcostaPushed on Jun 7 2021, 18:11
Reviewer
Restricted Project
Differential Revision
D9638: [refactor] deduplicate AmountFromValue
Parents
rABC4b6a468d3eb8: Split SetWalletFlags into Add/LoadWalletFlags
Branches
Unknown
Tags
Unknown