Page MenuHomePhabricator

[backport#15458] refactor: Drop redundant wallet reference
ClosedPublic

Authored by majcosta on May 28 2020, 20:35.

Details

Summary

53b310390c refactor: Drop redundant wallet reference (João Barbosa)

Pull request description:

Removes the redudant wallet reference from `WalletImpl`.

```cpp
// before:
std::shared_ptr<CWallet> m_shared_wallet;
CWallet& m_wallet;

// after
std::shared_ptr<CWallet> m_wallet;
```

https://github.com/bitcoin/bitcoin/pull/15458/commits/53b310390cc72a034911a8d6236b472a22c62227

Backport of Core PR15458

Test Plan
ninja check-all

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.May 29 2020, 11:43