Skip to content

Commit

Permalink
TryExecuteVotedAction in AddAction
Browse files Browse the repository at this point in the history
  • Loading branch information
mn13 committed Sep 11, 2024
1 parent 4e5b686 commit 9ae2579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warden/x/act/keeper/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func (k Keeper) AddAction(ctx context.Context, creator string, msg sdk.Msg, time
}

// try executing the action immediately
if err := k.TryExecuteAction(ctx, act); err != nil {
if err := k.TryExecuteVotedAction(ctx, act); err != nil {
return nil, err
}

Expand Down

0 comments on commit 9ae2579

Please sign in to comment.