Use std::shared_ptr instead of boost::shared_ptr

This commit is contained in:
lateminer
2018-01-12 07:34:45 +03:00
parent 714d2650b5
commit c4c9d81823
6 changed files with 9 additions and 14 deletions

View File

@@ -3473,9 +3473,9 @@ void CWallet::UpdatedTransaction(const uint256 &hashTx)
}
}
void CWallet::GetScriptForMining(boost::shared_ptr<CReserveScript> &script)
void CWallet::GetScriptForMining(std::shared_ptr<CReserveScript> &script)
{
boost::shared_ptr<CReserveKey> rKey(new CReserveKey(this));
std::shared_ptr<CReserveKey> rKey = std::make_shared<CReserveKey>(this);
CPubKey pubkey;
if (!rKey->GetReservedKey(pubkey))
return;