Skip to content

Commit

Permalink
everyday in testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed May 18, 2024
1 parent c022559 commit 7b67122
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/app.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ namespace $.$$ {
transfer_next_moment(next?: $mol_time_moment) {
let str = this.$.$mol_state_local.value('transfer_next_moment', next && next.toString())
if (!str) {
const next = new $mol_time_moment().merge({ day: 0 }).shift({ month: 1, day: -1 })
const next = new $mol_time_moment().merge({ day: 0 }).shift(
this.wallet().ton().is_testnet() ? { day: 1 } : { month: 1 }
)
str = this.$.$mol_state_local.value('transfer_next_moment', next.toString())!
}
return new $mol_time_moment(str)
Expand Down

0 comments on commit 7b67122

Please sign in to comment.