node/pkg/solana: bump recovery date and remove constraint

We don't know what commitment level the missing transactions use.

commit-id:8ed29f9f
This commit is contained in:
Leo 2021-12-20 22:36:44 +01:00 committed by Leopold Schabel
parent fce50e7c48
commit 40d1a57167
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ func (s *SolanaWatcher) Run(ctx context.Context) error {
var recovery <-chan time.Time
date := recoveryDate.Sub(time.Now().UTC())
if date >= 0 && s.commitment == rpc.CommitmentFinalized {
if date >= 0 {
logger.Info("waiting for scheduled recovery", zap.Duration("until", date))
recovery = time.NewTimer(date).C
} else {

View File

@ -8,7 +8,7 @@ import (
"time"
)
var recoveryDate = time.Date(2021, time.December, 21, 11, 0, 0, 0, time.UTC)
var recoveryDate = time.Date(2021, time.December, 23, 11, 0, 0, 0, time.UTC)
const recoveryConfigUrl = `https://raw.githubusercontent.com/certusone/wormhole/dev.v2/node/pkg/solana/recovery.cfg`