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

@@ -28,7 +28,6 @@
#include <stdint.h>
#include <boost/assign/list_of.hpp>
#include <boost/shared_ptr.hpp>
#include <univalue.h>
@@ -141,7 +140,7 @@ UniValue generate(const UniValue& params, bool fHelp)
int nHeight = 0;
int nGenerate = params[0].get_int();
boost::shared_ptr<CReserveScript> coinbaseScript;
std::shared_ptr<CReserveScript> coinbaseScript;
GetMainSignals().ScriptForMining(coinbaseScript);
// If the keypool is exhausted, no script is returned at all. Catch this.