Browse Source

ckdb - old btc address lookup fails

master
kanoi 10 years ago
parent
commit
8721353bed
  1. 2
      src/ckdb.h
  2. 2
      src/ckdb_data.c

2
src/ckdb.h

@ -52,7 +52,7 @@
#define DB_VLOCK "1" #define DB_VLOCK "1"
#define DB_VERSION "0.9.6" #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 " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__ #define WHERE_FFL_HERE __FILE__, __func__, __LINE__

2
src/ckdb_data.c

@ -1177,8 +1177,8 @@ K_ITEM *find_any_payaddress(char *payaddress)
K_ITEM *item; K_ITEM *item;
item = first_in_ktree(paymentaddresses_root, ctx); item = first_in_ktree(paymentaddresses_root, ctx);
DATA_PAYMENTADDRESSES_NULL(pa, item);
while (item) { while (item) {
DATA_PAYMENTADDRESSES(pa, item);
if (strcmp(pa->payaddress, payaddress) == 0) if (strcmp(pa->payaddress, payaddress) == 0)
return item; return item;
item = next_in_ktree(ctx); item = next_in_ktree(ctx);

Loading…
Cancel
Save