X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fbitcoinrpc.cpp;h=d0f4e15d0054b823b800ced2b239cb3b11905fb0;hb=75744e6526193604bfbcc6be3a3793315556f12c;hp=80674d6a1faa16ed5c1b5fbfcdc44afc266f6b1c;hpb=7f910f05a59a13fc96b8a4cafa4e6fdd5de725e4;p=novacoin.git diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 80674d6..d0f4e15 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -321,7 +321,6 @@ static const CRPCCommand vRPCCommands[] = { "adjustmalleablepubkey", &adjustmalleablepubkey, false, false}, { "listmalleableviews", &listmalleableviews, false, false}, { "dumpmalleablekey", &dumpmalleablekey, false, false}, - { "validatemalleablepubkey",&validatemalleablepubkey,true, false }, { "importmalleablekey", &importmalleablekey, true, false }, { "encryptdata", &encryptdata, false, false }, { "decryptdata", &decryptdata, false, false }, @@ -428,7 +427,8 @@ int ReadHTTPStatus(std::basic_istream& stream, int &proto) string str; getline(stream, str); vector vWords; - boost::split(vWords, str, boost::is_any_of(" ")); + istringstream iss(str); + copy(istream_iterator(iss), istream_iterator(), back_inserter(vWords)); if (vWords.size() < 2) return HTTP_INTERNAL_SERVER_ERROR; proto = 0;