From 5970b04557fa258044aec5781b49da1f10b0ee1b Mon Sep 17 00:00:00 2001 From: Teiva Harsanyi Date: Wed, 1 Mar 2023 23:47:43 +0100 Subject: [PATCH] Cleaning --- challenge-6b-totally-available-transactions/main.go | 3 --- challenge-6c-totally-available-transactions/main.go | 3 --- 2 files changed, 6 deletions(-) diff --git a/challenge-6b-totally-available-transactions/main.go b/challenge-6b-totally-available-transactions/main.go index ad9fb68..421c867 100644 --- a/challenge-6b-totally-available-transactions/main.go +++ b/challenge-6b-totally-available-transactions/main.go @@ -26,10 +26,8 @@ func init() { func main() { n := maelstrom.NewNode() - kv := maelstrom.NewLinKV(n) s := &server{ n: n, - kv: kv, store: make(map[int]int), } @@ -54,7 +52,6 @@ func wrap(f func(msg maelstrom.Message) error) func(msg maelstrom.Message) error type server struct { n *maelstrom.Node - kv *maelstrom.KV nodeID string id int diff --git a/challenge-6c-totally-available-transactions/main.go b/challenge-6c-totally-available-transactions/main.go index ad9fb68..421c867 100644 --- a/challenge-6c-totally-available-transactions/main.go +++ b/challenge-6c-totally-available-transactions/main.go @@ -26,10 +26,8 @@ func init() { func main() { n := maelstrom.NewNode() - kv := maelstrom.NewLinKV(n) s := &server{ n: n, - kv: kv, store: make(map[int]int), } @@ -54,7 +52,6 @@ func wrap(f func(msg maelstrom.Message) error) func(msg maelstrom.Message) error type server struct { n *maelstrom.Node - kv *maelstrom.KV nodeID string id int