From a8687b0ece2975a0efcbbe9cae904bfc2f28f9fb Mon Sep 17 00:00:00 2001 From: Sandertv Date: Mon, 23 Dec 2024 19:49:15 +0100 Subject: [PATCH] world/tx.go: Removed unused weakTransaction field. --- server/world/tx.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/world/tx.go b/server/world/tx.go index 2611e948c..1422bfa1f 100644 --- a/server/world/tx.go +++ b/server/world/tx.go @@ -248,7 +248,6 @@ func (ntx normalTransaction) Run(w *World) { // weakTransaction is a transaction that may be cancelled by setting its invalid // bool to false before the transaction is run. type weakTransaction struct { - wait chan struct{} c chan bool f func(tx *Tx) invalid *atomic.Bool