Page MenuHomePhabricator

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

Authored by majcosta on Tue, Jul 28, 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

majcosta created this revision.Tue, Jul 28, 09:08
Herald added a reviewer: Restricted Project. · View Herald TranscriptTue, Jul 28, 09:08
majcosta requested review of this revision.Tue, Jul 28, 09:08
teamcity edited the summary of this revision. (Show Details)Tue, Jul 28, 09:08

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

Fabien accepted this revision.Tue, Jul 28, 09:28
This revision is now accepted and ready to land.Tue, Jul 28, 09:28