src/wallet/rpcdisclosure.cpp upstream changes

This commit is contained in:
Duke Leto
2019-12-12 19:31:58 -05:00
parent bf3b41ace4
commit 421c069073

View File

@@ -51,7 +51,7 @@ bool EnsureWalletIsAvailable(bool avoidException);
/** /**
* RPC call to generate a payment disclosure * RPC call to generate a payment disclosure
*/ */
UniValue z_getpaymentdisclosure(const UniValue& params, bool fHelp) UniValue z_getpaymentdisclosure(const UniValue& params, bool fHelp, const CPubKey& mypk)
{ {
if (!EnsureWalletIsAvailable(fHelp)) if (!EnsureWalletIsAvailable(fHelp))
return NullUniValue; return NullUniValue;
@@ -158,7 +158,7 @@ UniValue z_getpaymentdisclosure(const UniValue& params, bool fHelp)
/** /**
* RPC call to validate a payment disclosure data blob. * RPC call to validate a payment disclosure data blob.
*/ */
UniValue z_validatepaymentdisclosure(const UniValue& params, bool fHelp) UniValue z_validatepaymentdisclosure(const UniValue& params, bool fHelp, const CPubKey& mypk)
{ {
if (!EnsureWalletIsAvailable(fHelp)) if (!EnsureWalletIsAvailable(fHelp))
return NullUniValue; return NullUniValue;