diff options
| author | João Barbosa <[email protected]> | 2018-05-22 16:18:07 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2018-05-22 16:56:20 +0100 |
| commit | 80b4910f7d87983f50047074c3c2397b0a5c4e92 (patch) | |
| tree | 0bd471d1bc9b659b52033bd333cfe9b433e9b4e1 /src/interfaces/wallet.h | |
| parent | Merge #13282: trivial: Mark overrides as such. (diff) | |
| download | discoin-80b4910f7d87983f50047074c3c2397b0a5c4e92.tar.xz discoin-80b4910f7d87983f50047074c3c2397b0a5c4e92.zip | |
wallet: Use shared pointer to retain wallet instance
Diffstat (limited to 'src/interfaces/wallet.h')
| -rw-r--r-- | src/interfaces/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index ff779cd0a..82ae0b14b 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -363,7 +363,7 @@ struct WalletTxOut //! Return implementation of Wallet interface. This function will be undefined //! in builds where ENABLE_WALLET is false. -std::unique_ptr<Wallet> MakeWallet(CWallet& wallet); +std::unique_ptr<Wallet> MakeWallet(const std::shared_ptr<CWallet>& wallet); } // namespace interfaces |