From e90258627f7b06da10be023f282c71a695a088b6 Mon Sep 17 00:00:00 2001 From: Fang Date: Mon, 31 Aug 2020 22:36:32 +0200 Subject: [PATCH] vere: reset instead of decrement scry fail counter If scries succeed, they work. No need to make this smarter. --- pkg/urbit/vere/io/ames.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/urbit/vere/io/ames.c b/pkg/urbit/vere/io/ames.c index eb758a0e5..db20cdbfa 100644 --- a/pkg/urbit/vere/io/ames.c +++ b/pkg/urbit/vere/io/ames.c @@ -705,9 +705,7 @@ _ames_lane_scry_cb(void* vod_p, u3_noun nun) _ames_panc_free(pac_u); } else { - if ( 0 < pac_u->sam_u->saw_d ) { - pac_u->sam_u->saw_d--; - } + pac_u->sam_u->saw_d = 0; // cache the scry result for later use //