From 231bcedcf1fdf72b52023ed50259cd5c6b1e47a1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 13 Jul 2017 13:58:12 +0200 Subject: [PATCH] Test --- src/komodo_jumblr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/komodo_jumblr.h b/src/komodo_jumblr.h index 8c8ee5775..5022b2371 100755 --- a/src/komodo_jumblr.h +++ b/src/komodo_jumblr.h @@ -494,10 +494,12 @@ void jumblr_zaddrinit(char *zaddr) ptr->amount = (total * SATOSHIDEN); ptr->status = 1; strcpy(ptr->dest,zaddr); + if ( jumblr_addresstype(ptr->dest) != 'z' ) + printf("error setting dest type to Z: %s\n",jprint(item,0)); if ( jumblr_numvins(txid) == 0 ) { z_z = 1; - strcpy(ptr->src,"zcaddr"); + strcpy(ptr->src,zaddr); if ( jumblr_addresstype(ptr->src) != 'z' ) printf("error setting address type to Z: %s\n",jprint(item,0)); }