Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarom Swisa authored and Yarom Swisa committed Dec 24, 2023
1 parent 601317d commit b94df6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/subscription/keeper/subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func (k Keeper) CreateSubscription(
)
}

if !found || autoRenewalFlag {
if !found || sub.AutoRenewal {
expiry := uint64(utils.NextMonth(ctx.BlockTime()).UTC().Unix())
sub.MonthExpiryTime = expiry
sub.Block = block
Expand Down

0 comments on commit b94df6b

Please sign in to comment.