Co-authored-by: fuyangpengqi <167312867+fuyangpengqi@users.noreply.github.com> Co-authored-by: aljo242 <alex@interchainlabs.io>
This commit is contained in:
parent
f56b1bf38b
commit
40e201e061
@ -126,7 +126,7 @@ func (ss StdSignature) MarshalYAML() (interface{}, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return string(bz), err
|
||||
return string(bz), nil
|
||||
}
|
||||
|
||||
func (ss StdSignature) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error {
|
||||
|
||||
@ -273,7 +273,11 @@ func (k Keeper) GetDelegatorUnbonding(ctx context.Context, delegator sdk.AccAddr
|
||||
}
|
||||
return false
|
||||
})
|
||||
return unbonding, err
|
||||
if err != nil {
|
||||
return unbonding, err
|
||||
}
|
||||
|
||||
return unbonding, nil
|
||||
}
|
||||
|
||||
// IterateDelegatorUnbondingDelegations iterates through a delegator's unbonding delegations.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user