From 55715fcd5ded27bc523399eb2eed48470e7a83ac Mon Sep 17 00:00:00 2001 From: Fang Date: Thu, 14 Dec 2017 16:58:51 +0100 Subject: [PATCH] Changed debug poke 'check' to always give some information. --- app/talk.hoon | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/talk.hoon b/app/talk.hoon index 3e7902a404..540ebd580b 100644 --- a/app/talk.hoon +++ b/app/talk.hoon @@ -2255,13 +2255,12 @@ ?: =(a 'check') ~& 'verifying message reference integrity...' =- ~&(- [~ +>.$]) + ~& [%count--lent count (lent grams)] =+ %- ~(rep by known) |= {{u/serial a/@ud} k/@ud m/@ud} :- ?:((gth a k) a k) ?: =(u uid:(snag (sub count +(a)) grams)) m +(m) - :^ %check-talk - count=count - lent=(lent grams) + :- %check-talk [known=k mismatch=m] ?: =(a 'rebuild') ~& 'rebuilding message references...'