From 6721741d13144e549a3e2cdc1789b96a15b8970f Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Feb 2017 21:17:36 +0200 Subject: [PATCH] test --- src/komodo_notary.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/komodo_notary.h b/src/komodo_notary.h index 20559c954..423229e23 100644 --- a/src/komodo_notary.h +++ b/src/komodo_notary.h @@ -154,6 +154,13 @@ int32_t komodo_ratify_threshold(int32_t height,uint64_t signedmask) int32_t komodo_notaries(uint8_t pubkeys[64][33],int32_t height) { int32_t i,htind,n; uint64_t mask = 0; struct knotary_entry *kp,*tmp; + if ( height >= 180000 ) + { + n = (int32_t)(sizeof(Notaries_elected)/sizeof(*Notaries_elected)); + for (i=0; i