From 339f03233d414c4ada5a97b305b4ef8a9c6e6757 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Wed, 18 Dec 2019 15:45:34 -0500 Subject: [PATCH] Clean up --- src/primitives/block.h | 2 -- src/rpc/misc.cpp | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/primitives/block.h b/src/primitives/block.h index 41e7e3715..d19981def 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -28,8 +28,6 @@ #include "uint256.h" #include "arith_uint256.h" -extern int32_t ASSETCHAINS_LWMAPOS; - /** Nodes collect new transactions into a block, hash them into a hash tree, * and scan through nonce values to make the block's hash satisfy proof-of-work * requirements. When they solve the proof-of-work, they broadcast the block diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 602ec38ec..081938d66 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -83,7 +83,7 @@ extern uint16_t ASSETCHAINS_P2PPORT,ASSETCHAINS_RPCPORT; extern uint32_t ASSETCHAINS_CC; extern uint32_t ASSETCHAINS_MAGIC,ASSETCHAINS_ALGO; extern uint64_t ASSETCHAINS_COMMISSION,ASSETCHAINS_SUPPLY; -extern int32_t ASSETCHAINS_LWMAPOS,ASSETCHAINS_SAPLING,ASSETCHAINS_STAKED; +extern int32_t ASSETCHAINS_SAPLING; extern uint64_t ASSETCHAINS_ENDSUBSIDY[],ASSETCHAINS_REWARD[],ASSETCHAINS_HALVING[],ASSETCHAINS_DECAY[],ASSETCHAINS_NOTARY_PAY[]; extern std::string NOTARY_PUBKEY,NOTARY_ADDRESS; extern uint8_t NOTARY_PUBKEY33[]; @@ -348,10 +348,6 @@ UniValue getinfo(const UniValue& params, bool fHelp, const CPubKey& mypk) if ( ASSETCHAINS_COMMISSION != 0 ) obj.push_back(Pair("commission", ASSETCHAINS_COMMISSION)); - if ( ASSETCHAINS_STAKED != 0 ) - obj.push_back(Pair("staked", ASSETCHAINS_STAKED)); - if ( ASSETCHAINS_LWMAPOS != 0 ) - obj.push_back(Pair("lwmapos", ASSETCHAINS_LWMAPOS)); if ( ASSETCHAINS_ALGO != ASSETCHAINS_EQUIHASH ) obj.push_back(Pair("algo",ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO])); }