Errors printout define moved to wallet.h
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user