From 1003e5b0d53627a875c1b14ab20c99a66e023e53 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 17 Mar 2017 02:53:55 +0200 Subject: [PATCH] Print coin name in vin error --- iguana/kmd_lookup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/kmd_lookup.h b/iguana/kmd_lookup.h index f3abf52d2..0d6e2f2f9 100755 --- a/iguana/kmd_lookup.h +++ b/iguana/kmd_lookup.h @@ -117,7 +117,7 @@ int32_t kmd_transactionvin(struct iguana_info *coin,bits256 spendtxid,int32_t vi } return(0); } - char str[65]; printf("vin error %s vout.%d of %d vs ptr %p [%d] spent.%p\n",bits256_str(str,txid),vout,ptr!=0?ptr->numvouts:-1,ptr,ptr!=0?ptr->numvouts:-1,spendptr); + char str[65]; printf("%s.vin error %s vout.%d of %d vs ptr %p [%d] spent.%p\n",coin->symbol,bits256_str(str,txid),vout,ptr!=0?ptr->numvouts:-1,ptr,ptr!=0?ptr->numvouts:-1,spendptr); return(-1); }