1
This commit is contained in:
parent
26602b24f2
commit
56a1a63d73
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user