Errors printout define moved to wallet.h
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include "CCdice.h"
|
||||
|
||||
extern std::string CCerror;
|
||||
#define ERR_RESULT(x) result.push_back(Pair("result", "error")) , result.push_back(Pair("error", x));
|
||||
|
||||
// timeout
|
||||
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
|
||||
#include <numeric>
|
||||
|
||||
#define ERR_RESULT(x) result.push_back(Pair("result", "error")) , result.push_back(Pair("error", x));
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -5779,5 +5778,3 @@ UniValue getbalance64(const UniValue& params, bool fHelp)
|
||||
ret.push_back(Pair("notstaking", b));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1204,4 +1204,8 @@ public:
|
||||
READWRITE(vchPubKey);
|
||||
}
|
||||
};
|
||||
|
||||
/** Error status printout */
|
||||
#define ERR_RESULT(x) result.push_back(Pair("result", "error")) , result.push_back(Pair("error", x));
|
||||
|
||||
#endif // BITCOIN_WALLET_WALLET_H
|
||||
|
||||
Reference in New Issue
Block a user