Skip to content

Commit

Permalink
Update x/alliance/keeper/msg_server.go
Browse files Browse the repository at this point in the history
Co-authored-by: emidev98 <[email protected]>
  • Loading branch information
javiersuweijie and emidev98 authored Feb 19, 2024
1 parent b0be354 commit 4ab361f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/alliance/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (m MsgServer) CreateAlliance(ctx context.Context, msg *types.MsgCreateAllia
}

if msg.RewardChangeInterval < 0 {
return nil, status.Errorf(codes.InvalidArgument, "Alliance rewardChangeInterval must be strictly a positive number")
return nil, status.Errorf(codes.InvalidArgument, "Alliance rewardChangeInterval must be zero or a positive number")
}

if m.GetAuthority() != msg.Authority {
Expand Down

0 comments on commit 4ab361f

Please sign in to comment.