diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 0485116d0..c1e743e20 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -606,7 +606,7 @@ void komodo_connectpindex(CBlockIndex *pindex) } int32_t komodo_notaries(uint8_t pubkeys[64][33],int32_t height); -int32_t komodo_electednotary(uint8_t *pubkey33); +int32_t komodo_electednotary(uint8_t *pubkey33,int32_t height); int8_t komodo_minerid(int32_t height) { diff --git a/src/komodo_notary.h b/src/komodo_notary.h index 81b819ec5..c0bc1ad35 100644 --- a/src/komodo_notary.h +++ b/src/komodo_notary.h @@ -122,9 +122,9 @@ const char *Notaries_elected[][2] = { "xxspot2_XX", "03d85b221ea72ebcd25373e7961f4983d12add66a92f899deaf07bab1d8b6f5573" } }; -int32_t komodo_electednotary(uint8_t *pubkey33) +int32_t komodo_electednotary(uint8_t *pubkey33,int32_t height) { - char pubkeystr[67]; + char pubkeystr[67]; int32_t i; init_hexbytes_noT(pubkeystr,pubkey33,33); for (i=0; i