Browse Source

Additional build fixes

divzaddrs
fekt 3 months ago
parent
commit
b5b9cd9f18
  1. 8
      src/wallet/rpcdump.cpp
  2. 4
      src/wallet/rpcwallet.cpp

8
src/wallet/rpcdump.cpp

@ -798,7 +798,7 @@ UniValue dumpwallet_impl(const UniValue& params, bool fHelp, bool fDumpZKeys)
return exportfilepath.string();
}
UniValue z_getalldiversifiedaddresses(const UniValue& params, bool fHelp) {
UniValue z_getalldiversifiedaddresses(const UniValue& params, bool fHelp, const CPubKey& mypk) {
if (!EnsureWalletIsAvailable(fHelp))
return NullUniValue;
@ -856,7 +856,7 @@ UniValue z_getalldiversifiedaddresses(const UniValue& params, bool fHelp) {
return ret;
}
UniValue z_getnewdiversifiedaddress(const UniValue& params, bool fHelp) {
UniValue z_getnewdiversifiedaddress(const UniValue& params, bool fHelp, const CPubKey& mypk) {
if (!EnsureWalletIsAvailable(fHelp))
return NullUniValue;
@ -1198,7 +1198,7 @@ UniValue z_exportviewingkey(const UniValue& params, bool fHelp, const CPubKey& m
return EncodeViewingKey(ivk);
}
UniValue z_exportivk(const UniValue& params, bool fHelp)
UniValue z_exportivk(const UniValue& params, bool fHelp, const CPubKey& mypk)
{
if (!EnsureWalletIsAvailable(fHelp))
return NullUniValue;
@ -1238,7 +1238,7 @@ UniValue z_exportivk(const UniValue& params, bool fHelp)
}
}
UniValue z_importivk(const UniValue& params, bool fHelp)
UniValue z_importivk(const UniValue& params, bool fHelp, const CPubKey& mypk)
{
if (!EnsureWalletIsAvailable(fHelp))
return NullUniValue;

4
src/wallet/rpcwallet.cpp

@ -6218,8 +6218,8 @@ extern UniValue z_importviewingkey(const UniValue& params, bool fHelp, const CPu
extern UniValue z_exportwallet(const UniValue& params, bool fHelp, const CPubKey& mypk);
extern UniValue z_getnewdiversifiedaddress(const UniValue& params, bool fHelp, const CPubKey& mypk);
extern UniValue z_getalldiversifiedaddresses(const UniValue& params, bool fHelp, const CPubKey& mypk);
extern UniValue z_exportivk(const UniValue& params, bool fHelp);
extern UniValue z_importivk(const UniValue& params, bool fHelp);
extern UniValue z_exportivk(const UniValue& params, bool fHelp, const CPubKey& mypk);
extern UniValue z_importivk(const UniValue& params, bool fHelp, const CPubKey& mypk);
extern UniValue z_importwallet(const UniValue& params, bool fHelp, const CPubKey& mypk);
extern UniValue rescan(const UniValue& params, bool fHelp, const CPubKey& mypk);
extern UniValue getrescaninfo(const UniValue& params, bool fHelp, const CPubKey& mypk);

Loading…
Cancel
Save