@ -52,7 +52,7 @@
#define DB_VLOCK "1"
#define DB_VERSION "0.9.6"
#define CKDB_VERSION DB_VERSION"-0.804"
#define CKDB_VERSION DB_VERSION"-0.810"
#define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__
@ -1177,8 +1177,8 @@ K_ITEM *find_any_payaddress(char *payaddress)
K_ITEM *item;
item = first_in_ktree(paymentaddresses_root, ctx);
DATA_PAYMENTADDRESSES_NULL(pa, item);
while (item) {
DATA_PAYMENTADDRESSES(pa, item);
if (strcmp(pa->payaddress, payaddress) == 0)
return item;
item = next_in_ktree(ctx);