fix getsnapshot2 thanks to dimxy's advice.

This commit is contained in:
blackjok3r
2019-04-10 16:53:08 +08:00
parent e5ea4d5c1c
commit 2e2bb2b518
2 changed files with 14 additions and 16 deletions

View File

@@ -116,7 +116,7 @@ public:
bool LoadBlockIndexGuts();
bool blockOnchainActive(const uint256 &hash);
UniValue Snapshot(int top);
int32_t Snapshot2(int64_t dustthreshold, int32_t top, bool fRPC ,std::vector <std::pair<CAmount, std::string>> &vaddr, UniValue &ret);
int32_t Snapshot2(int64_t dustthreshold, int32_t top,std::vector <std::pair<CAmount, std::string>> &vaddr, UniValue *ret);
};
#endif // BITCOIN_TXDB_H