From 94b32af9645369c9f96f86b82466e207fb48e9db Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 4 Mar 2019 00:15:04 -1100 Subject: [PATCH] Allow replacement handle --- src/cc/dilithium.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/dilithium.c b/src/cc/dilithium.c index 51f4c9510..d7b59f54c 100644 --- a/src/cc/dilithium.c +++ b/src/cc/dilithium.c @@ -3564,9 +3564,9 @@ bool dilithium_Rvalidate(struct CCcontract_info *cp,int32_t height,Eval *eval,co { if ( oldpub33 == pub33 ) return(true); - } else return eval->Invalid("duplicate dilithium handle rejected"); + } + return eval->Invalid("duplicate dilithium handle rejected"); } - else return eval->Invalid("duplicate dilithium handle rejected"); } else return eval->Invalid("couldnt decode register opret"); }