Skip to content

Commit

Permalink
use Raw()
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul committed Nov 17, 2023
1 parent 07d6da6 commit c3ec94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcr/pe/presentation_submission.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (b *PresentationSubmissionBuilder) Build(format string) (PresentationSubmis
for i, walletVCs := range b.wallets {
for _, walletVC := range walletVCs {
// do a JSON equality check
if vcEqual(selectedVCs[j], walletVC) {
if selectedVCs[j].Raw() == walletVC.Raw() {
signInstructions[i].Holder = b.holders[i]
signInstructions[i].VerifiableCredentials = append(signInstructions[i].VerifiableCredentials, selectedVCs[j])
// remap the path to the correct wallet index
Expand Down

0 comments on commit c3ec94d

Please sign in to comment.