Skip to content

Commit

Permalink
Update verifying/verifying.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Fasching <[email protected]>
  • Loading branch information
poszu and fasmat authored Jun 14, 2024
1 parent 4e7bcbe commit e074338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verifying/verifying.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func VerifyVRFNonce(nonce *uint64, m *shared.VRFNonceMetadata, opts ...OptionFun
}

if res.Nonce == nil || *res.Nonce != *nonce {
return fmt.Errorf("nonce %v is not valid for node %x", *nonce, m.NodeId)
return fmt.Errorf("nonce %v is not valid for node %s", *nonce, m.NodeId)

Check warning on line 55 in verifying/verifying.go

View check run for this annotation

Codecov / codecov/patch

verifying/verifying.go#L55

Added line #L55 was not covered by tests
}

return nil
Expand Down

0 comments on commit e074338

Please sign in to comment.