Fix circ supply default in conformance

This commit is contained in:
austinabell 2020-10-16 21:14:36 -04:00
parent 4a057d84b8
commit 70e2170e3e
No known key found for this signature in database
GPG Key ID: C1CB22918F2A46DE

View File

@ -248,7 +248,7 @@ func BaseFeeOrDefault(basefee *gobig.Int) abi.TokenAmount {
// DefaultCirculatingSupply.
func CircSupplyOrDefault(circSupply *gobig.Int) abi.TokenAmount {
if circSupply == nil {
return DefaultBaseFee
return DefaultCirculatingSupply
}
return big.NewFromGo(circSupply)
}