Errors printout define moved to wallet.h

This commit is contained in:
Anton Lysakov
2018-08-25 03:59:03 +07:00
parent bac7b7174a
commit fd2fd9a7e5
3 changed files with 20 additions and 20 deletions

View File

@@ -16,7 +16,6 @@
#include "CCdice.h" #include "CCdice.h"
extern std::string CCerror; extern std::string CCerror;
#define ERR_RESULT(x) result.push_back(Pair("result", "error")) , result.push_back(Pair("error", x));
// timeout // timeout

View File

@@ -38,7 +38,6 @@
#include <numeric> #include <numeric>
#define ERR_RESULT(x) result.push_back(Pair("result", "error")) , result.push_back(Pair("error", x));
using namespace std; using namespace std;
@@ -5779,5 +5778,3 @@ UniValue getbalance64(const UniValue& params, bool fHelp)
ret.push_back(Pair("notstaking", b)); ret.push_back(Pair("notstaking", b));
return ret; return ret;
} }

View File

@@ -1204,4 +1204,8 @@ public:
READWRITE(vchPubKey); 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 #endif // BITCOIN_WALLET_WALLET_H