From 095663f5ccd10a4cd04ef6ad836f37346fc748ae Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:47:46 +0000 Subject: [bugfix] visibility after implicit approval not getting invalidated (#3370) * replicate issue * update go-structr to v0.8.10 with internal linked-list fix, small tweaks to caching of interaction requests * remove debug function --------- Co-authored-by: tobi --- vendor/codeberg.org/gruf/go-structr/map.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'vendor/codeberg.org/gruf/go-structr/map.go') diff --git a/vendor/codeberg.org/gruf/go-structr/map.go b/vendor/codeberg.org/gruf/go-structr/map.go index a31574641..316a8e528 100644 --- a/vendor/codeberg.org/gruf/go-structr/map.go +++ b/vendor/codeberg.org/gruf/go-structr/map.go @@ -10,9 +10,8 @@ func (m *hashmap) init(cap int) { m.n = cap } -func (m *hashmap) Get(key string) (*list, bool) { - list, ok := m.m[key] - return list, ok +func (m *hashmap) Get(key string) *list { + return m.m[key] } func (m *hashmap) Put(key string, list *list) { -- cgit v1.2.3