Skip to content

Commit

Permalink
Remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
StarNeit committed Dec 1, 2020
1 parent 997f495 commit 2d2e80b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions node/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -1300,10 +1300,7 @@ func (d *Pegnetd) GetAssetRates(oprWinners []opr.AssetUint, sprWinners []opr.Ass
if (float64(oprRate) >= toleranceBandLow) && (float64(oprRate) <= toleranceBandHigh) {
filteredRates = append(filteredRates, oprWinners[i])
} else {
fmt.Println("opr is out side of spr's tolerance band")
fmt.Println("=== asset name:", oprWinners[i].Name)
fmt.Println("<<<<=== opr rate:", oprWinners[i].Value)
fmt.Println("<<<<=== spr rate:", sprWinners[i].Value)
fmt.Println("Rate difference", oprWinners[i].Name, oprWinners[i].Value, sprWinners[i].Value)
if height < V202EnhanceActivation {
return nil, fmt.Errorf("opr is out side of tolerance band")
}
Expand Down

0 comments on commit 2d2e80b

Please sign in to comment.