diff --git a/server/marketserver/service/contribution.go b/server/marketserver/service/contribution.go index 8ab23efa..b60419c7 100644 --- a/server/marketserver/service/contribution.go +++ b/server/marketserver/service/contribution.go @@ -41,7 +41,6 @@ func (this *contribution) GetEmailAccountId(accountAddress string) (string, stri } func (this *contribution) GetAddressContribution(accountAddress string) (float64, error) { - return 0, nil accinfo, exist := this.accountContricutionlist.Load(accountAddress) var beforcontribution float64 = 0 if nowseconds := f5.GetApp().GetRealSeconds(); !exist || (*accinfo).gcTime+60 < nowseconds { @@ -173,7 +172,6 @@ func (this *contribution) GetAddressContribution(accountAddress string) (float64 } func (this *contribution) GetGlobalContribution(instant bool) (float64, error) { - return 0, nil if this.historyContribution < 0.000001 { sql := `SELECT SUM(contribution) FROM t_contribution WHERE idx > 0` f5.GetGoStyleDb().RawQuery(