From 8721353bed7c67fee7642ed718b10448f32efe2e Mon Sep 17 00:00:00 2001 From: kanoi Date: Sun, 28 Dec 2014 17:26:29 +1100 Subject: [PATCH] ckdb - old btc address lookup fails --- src/ckdb.h | 2 +- src/ckdb_data.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ckdb.h b/src/ckdb.h index fc1403c9..a8e1cacb 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -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__ diff --git a/src/ckdb_data.c b/src/ckdb_data.c index 977547de..f8673028 100644 --- a/src/ckdb_data.c +++ b/src/ckdb_data.c @@ -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);