#include "kernel.h"
#include "bitcoinrpc.h"
-#include <boost/format.hpp>
using namespace json_spirit;
using namespace std;
if (nOut < 0 || nOut > (int)tx.vout.size() - 1)
{
stringstream strErrorMsg;
- strErrorMsg << boost::format("Invalid parameter, input number %d is out of range") % nOut;
+ strErrorMsg << "Invalid parameter, input number " << to_string(nOut) << " is out of range";
throw JSONRPCError(RPC_INVALID_PARAMETER, strErrorMsg.str());
}
if (nOut < 0 || nOut > (int)tx.vout.size() - 1)
{
stringstream strErrorMsg;
- strErrorMsg << boost::format("Invalid parameter, input number %d is out of range") % nOut;
+ strErrorMsg << "Invalid parameter, input number " << to_string(nOut) << " is out of range";
throw JSONRPCError(RPC_INVALID_PARAMETER, strErrorMsg.str());
}