Submit the right VAA to devnet

This commit is contained in:
Leo 2020-08-22 00:21:53 +02:00
parent ef2aab5998
commit 57ea6ae656
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ func vaaConsensusProcessor(lockC chan *common.ChainLock, setC chan *common.Guard
} }
case t.TargetChain == vaa.ChainIDEthereum: case t.TargetChain == vaa.ChainIDEthereum:
timeout, cancel := context.WithTimeout(ctx, 15*time.Second) timeout, cancel := context.WithTimeout(ctx, 15*time.Second)
tx, err := devnet.SubmitVAA(timeout, *ethRPC, v) tx, err := devnet.SubmitVAA(timeout, *ethRPC, signed)
cancel() cancel()
if err != nil { if err != nil {
logger.Error("failed to submit lockup to Ethereum", zap.Error(err)) logger.Error("failed to submit lockup to Ethereum", zap.Error(err))