From 3b57c4c25514b302777b99afd53e1b2f775c52a5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 7 Apr 2017 21:49:20 +0300 Subject: [PATCH] Test --- basilisk/jumblr.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/basilisk/jumblr.c b/basilisk/jumblr.c index 90c4d5efc..3e8489de2 100755 --- a/basilisk/jumblr.c +++ b/basilisk/jumblr.c @@ -35,11 +35,14 @@ int32_t jumblr_addresstype(struct supernet_info *myinfo,struct iguana_info *coin,char *addr) { - if ( addr[0] == 'z' && addr[1] == 'c' && strlen(addr) >= 40 ) - return('z'); - else if ( strlen(addr) < 40 ) - return('t'); - else return(-1); + if ( strcmp(coin->symbol,"KMD") == 0 ) + { + if ( addr[0] == 'z' && addr[1] == 'c' && strlen(addr) >= 40 ) + return('z'); + else if ( strlen(addr) < 40 ) + return('t'); + else return(-1); + } else return('t'); } struct jumblr_item *jumblr_opidfind(struct supernet_info *myinfo,char *opid)