From fc69220e78d24e5f275853d5e4e535d50fa45779 Mon Sep 17 00:00:00 2001 From: Duke Date: Sat, 17 Jun 2023 21:38:39 -0400 Subject: [PATCH] Remove unused code --- src/hush_pax.h | 5 ----- src/wallet/rpcwallet.cpp | 1 - 2 files changed, 6 deletions(-) diff --git a/src/hush_pax.h b/src/hush_pax.h index eba734593..029f6e31f 100644 --- a/src/hush_pax.h +++ b/src/hush_pax.h @@ -32,11 +32,6 @@ void hush_pvals(int32_t height,uint32_t *pvals,uint8_t numpvals) { } -uint64_t hush_paxcorrelation(uint64_t *votes,int32_t numvotes,uint64_t seed) -{ - return(0); -} - uint64_t hush_paxpriceB(uint64_t seed,int32_t height,char *base,char *rel,uint64_t basevolume) { return 0; diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index db2250a66..cdf16c695 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -606,7 +606,6 @@ UniValue sendtoaddress(const UniValue& params, bool fHelp, const CPubKey& mypk) #define HUSH_KVBINARY 2 #define HUSH_KVDURATION 1440 #define DRAGON_MAXSCRIPTSIZE 10001 -uint64_t PAX_fiatdest(uint64_t *seedp,int32_t tokomodo,char *destaddr,uint8_t pubkey37[37],char *coinaddr,int32_t height,char *base,int64_t fiatoshis); int32_t hush_opreturnscript(uint8_t *script,uint8_t type,uint8_t *opret,int32_t opretlen); extern int32_t HUSH_PAX; int32_t hush_is_issuer();