node/pkg/processor: reinstate source label

This was lost when removing the v1 submission logic.

Fixes certusone/wormhole#440

Change-Id: Ic997421aed88f64949e2dd3c55ad9230cb80ea3d
This commit is contained in:
Leo 2021-10-04 11:45:03 +02:00
parent a7ffd8db0f
commit 39b41c2d6c
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ func (p *Processor) broadcastSignature(v *vaa.VAA, signature []byte, txhash []by
p.state.vaaSignatures[hash].ourVAA = v
p.state.vaaSignatures[hash].ourMsg = msg
p.state.vaaSignatures[hash].source = v.EmitterChain.String()
p.state.vaaSignatures[hash].gs = p.gs // guaranteed to match ourVAA - there's no concurrent access to p.gs
// Fast path for our own signature