HomePhabricator

[backport#13546] wallet: Fix use of uninitialized value bnb_used in CWallet…

Description

[backport#13546] wallet: Fix use of uninitialized value bnb_used in CWallet::CreateTransaction(...)

Summary:
wallet: Avoid potential use of unitialized value bnb_used in CWallet::CreateTransaction(...) (practicalswift)

Pull request description:

Avoid use of uninitialized value `bnb_used` in `CWallet::CreateTransaction(...)`.

https://github.com/bitcoin/bitcoin/pull/13546/commits/a23a7f60aa07de52d23ff1f2034fc43926ec3520


Backport of Core PR13546

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Sep 24 2018, 11:37
majcostaCommitted on Jul 28 2020, 11:06
majcostaPushed on Jul 28 2020, 11:06
Reviewer
Restricted Project
Differential Revision
D7060: [backport#13546] wallet: Fix use of uninitialized value bnb_used in CWallet::CreateTransaction(...)
Parents
rABC16ad4587e457: [backport#14103] docs: Fix broken Doxygen comments
Branches
Unknown
Tags
Unknown