Skip to content

Commit

Permalink
Merge branch 'vanh/testnet' into chains/realionetwork/testnet-v1
Browse files Browse the repository at this point in the history
  • Loading branch information
vietanh2k committed Jan 8, 2025
2 parents e489374 + 2551514 commit 0fff2f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions database/schema/01-auth.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ CREATE TYPE COIN AS
amount TEXT
);

CREATE TYPE MS_UNLOCK_ENTRY AS
(
creation_height BIGINT,
unlock_coin COIN
);

/* ---- AUTH/ VESTING ACCOUNT ---- */
CREATE TABLE vesting_account
(
Expand Down
2 changes: 1 addition & 1 deletion modules/bank/handle_periodic_operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
func (m *Module) RegisterPeriodicOperations(scheduler *gocron.Scheduler) error {
log.Debug().Str("module", "bank").Msg("setting up periodic tasks")

if _, err := scheduler.Every(10).Minutes().Do(func() {
if _, err := scheduler.Every(1).Hour().Do(func() {
utils.WatchMethod(m.UpdateSupply)
}); err != nil {
return fmt.Errorf("error while setting up bank periodic operation: %s", err)
Expand Down

0 comments on commit 0fff2f0

Please sign in to comment.