Skip to content

Commit

Permalink
fix: didctl
Browse files Browse the repository at this point in the history
  • Loading branch information
saitofun committed May 14, 2024
1 parent 7c068df commit 29429ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/didctl/commands/decrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (i *Decrypt) Exec() (plain []byte, err error) {
}
}

plain, err = decryptor.DecryptBySenderDID([]byte(i.cipher), i.recipient)
plain, err = decryptor.Decrypt([]byte(i.cipher), i.recipient)
if err != nil {
return nil, errors.Wrap(err, "failed to decrypt")
}
Expand Down

0 comments on commit 29429ea

Please sign in to comment.