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

@@ -1148,7 +1148,7 @@ public:
int minDepth=1,
bool ignoreSpent=true,
bool ignoreUnspendable=true);
};
/** A key allocated from the key pool. */
@@ -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