Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Kim <[email protected]>
  • Loading branch information
joshua-kim committed Dec 22, 2023
1 parent 06ab4a5 commit 8f49622
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vms/platformvm/network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ func (n *network) issueTx(tx *txs.Tx) error {
//
// We need to grab the context lock here to avoid racy behavior with
// transaction verification + mempool modifications.
//
// Invariant: tx should not be referenced again without the context lock
// held to avoid any data races.
n.ctx.Lock.Lock()
err := n.manager.VerifyTx(tx)
n.ctx.Lock.Unlock()
Expand Down

0 comments on commit 8f49622

Please sign in to comment.