message: [Trivial][Cleanup] Complete CStakerStatus::SetNull()
diff: @@ -183,28 +183,35 @@ public:
  * - nTries number of UTXOs hashed during last attempt
  * - nCoins number of stakeable utxos during last attempt
  **/
  -class CStakerStatus {
  +class CStakerStatus
  +{
  private:
  const CBlockIndex* tipBlock{nullptr};
  int64_t nTime{0};
  int nTries{0};
  int nCoins{0};
  +
  public:
  + // Get
  const CBlockIndex* GetLastTip() const { return tipBlock; }
  - uint256 GetLastHash() const { return (tipBlock == nullptr ? UINT256_ZERO : tipBlock->GetBlockHash()); }
  - int GetLastHeight() const { return (tipBlock == nullptr ? 0 : tipBlock->nHeight); }
  + uint256 GetLastHash() const { return (GetLastTip() == nullptr ? UINT256_ZERO : GetLastTip()->GetBlockHash()); }
  + int GetLastHeight() const { return (GetLastTip() == nullptr ? 0 : GetLastTip()->nHeight); }
  int GetLastCoins() const { return nCoins; }
  int GetLastTries() const { return nTries; }
  int64_t GetLastTime() const { return nTime; }
  + // Set
  void SetLastCoins(const int coins) { nCoins = coins; }
  void SetLastTries(const int tries) { nTries = tries; }
  void SetLastTip(const CBlockIndex* lastTip) { tipBlock = lastTip; }
  void SetLastTime(const uint64_t lastTime) { nTime = lastTime; }
  void SetNull()
  {
  + SetLastCoins(0);
  + SetLastTries(0);
  SetLastTip(nullptr);
  SetLastTime(0);
  }
  + // Check whether staking status is active (last attempt earlier than 30 seconds ago)
  bool IsActive() const { return (nTime + 30) >= GetTime(); }
  };
  