Merge PR #6276: Fix error msg
This commit is contained in:
parent
6973c56457
commit
97fecb1aa2
|
@ -186,7 +186,7 @@ func (tx StdTx) ValidateBasic() error {
|
||||||
if len(stdSigs) != len(tx.GetSigners()) {
|
if len(stdSigs) != len(tx.GetSigners()) {
|
||||||
return sdkerrors.Wrapf(
|
return sdkerrors.Wrapf(
|
||||||
sdkerrors.ErrUnauthorized,
|
sdkerrors.ErrUnauthorized,
|
||||||
"wrong number of signers; expected %d, got %d", tx.GetSigners(), len(stdSigs),
|
"wrong number of signers; expected %d, got %d", len(tx.GetSigners()), len(stdSigs),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue