File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -362,10 +362,10 @@ func ValidateHyperSyncFlags(isHypersync bool, syncType NodeSyncType) {
362362}
363363
364364func RunDBMigrationsOnce (db * badger.DB , snapshot * Snapshot , params * DeSoParams ) error {
365- if err := RunBlockIndexMigrationOnce (db , snapshot , params ); err != nil {
365+ if err := RunBlockIndexMigrationOnce (db , nil , params ); err != nil {
366366 return errors .Wrapf (err , "RunDBMigrationsOnce: Problem running block index migration" )
367367 }
368- if err := RunDAOCoinLimitOrderMigrationOnce (db , snapshot ); err != nil {
368+ if err := RunDAOCoinLimitOrderMigrationOnce (db , nil ); err != nil {
369369 return errors .Wrapf (err , "RunDBMigrationsOnce: Problem running DAOCoin limit order migration" )
370370 }
371371 return nil
You can’t perform that action at this time.
0 commit comments