Page MenuHomePhabricator

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

Authored by majcosta on Jul 28 2020, 09:08.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Jul 28 2020, 09:28