mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
wallet: Use shared pointer to retain wallet instance
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#ifndef BITCOIN_UI_INTERFACE_H
|
||||
#define BITCOIN_UI_INTERFACE_H
|
||||
|
||||
#include <memory>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
@@ -92,7 +93,7 @@ public:
|
||||
boost::signals2::signal<void ()> NotifyAlertChanged;
|
||||
|
||||
/** A wallet has been loaded. */
|
||||
boost::signals2::signal<void (CWallet* wallet)> LoadWallet;
|
||||
boost::signals2::signal<void (std::shared_ptr<CWallet> wallet)> LoadWallet;
|
||||
|
||||
/**
|
||||
* Show progress e.g. for verifychain.
|
||||
|
||||
Reference in New Issue
Block a user