We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9e32b4 commit 85422b4Copy full SHA for 85422b4
x/feeds/types/msgs.go
@@ -44,15 +44,11 @@ func (m *MsgSubmitSignalPrices) GetSigners() []sdk.AccAddress {
44
45
// ValidateBasic does a check on the provided data.
46
func (m *MsgSubmitSignalPrices) ValidateBasic() error {
47
- valAddr, err := sdk.ValAddressFromBech32(m.Validator)
+ _, err := sdk.ValAddressFromBech32(m.Validator)
48
if err != nil {
49
return err
50
}
51
52
- if err := sdk.VerifyAddressFormat(valAddr); err != nil {
53
- return sdkerrors.ErrInvalidAddress.Wrapf("validator: %s", m.Validator)
54
- }
55
-
56
// Map to track signal IDs for duplicate check
57
signalIDSet := make(map[string]struct{})
58
0 commit comments