Merge pull request #4449 from austinabell/austin/confcircsupplyfix

Fix circ supply default in conformance
This commit is contained in:
Łukasz Magiera 2020-10-22 18:53:10 +02:00 committed by GitHub
commit 29cda82eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
}