update err to match others (#7857)
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
90e9370bd8
commit
55772aec8c
|
@ -348,7 +348,7 @@ func (cs ClientState) VerifyPacketCommitment(
|
|||
}
|
||||
|
||||
if err := merkleProof.VerifyMembership(cs.ProofSpecs, consensusState.GetRoot(), path, commitmentBytes); err != nil {
|
||||
return sdkerrors.Wrap(clienttypes.ErrFailedPacketCommitmentVerification, err.Error())
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue