Skip to content

Commit

Permalink
improve QuoteToBaseQuantums without Rat
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanChou committed May 21, 2024
1 parent 4278dd3 commit 19a79fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion protocol/lib/quantums.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ func QuoteToBaseQuantums(
// Divide result (towards zero) by priceValue.
// If there are two divisions, it is okay to do them separately as the result is the same.
result.Quo(result, new(big.Int).SetUint64(priceValue))

return result
}

Expand Down

0 comments on commit 19a79fd

Please sign in to comment.