message: Refresh send to self token tx
diff: @@ -91,9 +91,10 @@ class TokenTxWorker : public QObject
  Q_OBJECT
  public:
  CWallet *wallet;
  + bool first;
  Token tokenTxAbi;
  TokenTxWorker(CWallet *_wallet):
  - wallet(_wallet) {}
  + wallet(_wallet), first(true) {}
  private Q_SLOTS:
  void updateTokenTx(const QVariant &token)
  @@ -109,6 +110,9 @@ private Q_SLOTS:
  LOCK2(cs_main, wallet->cs_wallet);
  + int64_t backInPast = first ? COINBASE_MATURITY : 10;
  + first = false;
  +
  CBlockIndex* tip = chainActive.Tip();
  if(tip)
  {
  @@ -132,12 +136,12 @@ private Q_SLOTS:
  }
  else
  {
  - fromBlock = tokenInfo.blockNumber - COINBASE_MATURITY;
  + fromBlock = tokenInfo.blockNumber - backInPast;
  }
  }
  else
  {
  - fromBlock = toBlock - COINBASE_MATURITY;
  + fromBlock = toBlock - backInPast;
  }
  if(fromBlock < 0)
  fromBlock = 0;
  @@ -445,8 +449,9 @@ void TokenItemModel::checkTokenBalanceChanged()
  {
  d->priv->cachedTokenItem[i] = tokenEntry;
  emitDataChanged(i);
  + }
  - // Balance is changed, search for token transactions
  + // Search for token transactions
  if(fLogEvents)
  {
  QVariant token;
  @@ -456,7 +461,6 @@ void TokenItemModel::checkTokenBalanceChanged()
  }
  }
  }
  -}
  void TokenItemModel::emitDataChanged(int idx)
  {
  