Skip to content

Commit

Permalink
fix typo in hasSecretAccess()
Browse files Browse the repository at this point in the history
  • Loading branch information
jbsv committed Oct 10, 2023
1 parent 1f78952 commit 63aa155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/blockchain/calypso/calypso.go
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ func computeAccessToken(smcKey []byte, secret []byte, clientPubKey []byte) []byt
}

func hasSecretAccess(snap store.Snapshot, accessToken []byte) bool {
_, err := getSecret(snap, accessToken)
_, err := getSecretAccess(snap, accessToken)
return err != nil
}

Expand Down

0 comments on commit 63aa155

Please sign in to comment.