src/wallet/rpcdisclosure.cpp upstream changes
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user