missing return; (#5328)

This commit is contained in:
Enrique Jose Avila Asapche 2022-09-11 05:35:18 +03:00 committed by GitHub
parent 99fbbb545b
commit 19a178bf19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,7 @@ func (bn *BlockNumber) UnmarshalJSON(data []byte) error {
return nil
case "latestExecuted":
*bn = LatestExecutedBlockNumber
return nil
case "null":
*bn = LatestBlockNumber
return nil