From 8e9977654a036e5cde3801efee159611b3e7430f Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 23 Mar 2016 01:20:57 -0300 Subject: [PATCH] test --- iguana/iguana_unspents.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index d59a87f98..70ecb5f32 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -20,6 +20,8 @@ int32_t iguana_utxoupdate(struct iguana_info *coin,uint16_t spent_hdris,uint32_t { struct iguana_hhutxo *hhutxo; struct iguana_hhaccount *hhacct; uint8_t buf[sizeof(spent_hdris) + sizeof(uint32_t)]; + printf("unexpected utxoupdate\n"); + exit(-1); memcpy(&buf[sizeof(uint32_t)],(void *)&spent_hdris,sizeof(spent_hdris)); memcpy(buf,(void *)&spent_unspentind,sizeof(spent_unspentind)); HASH_FIND(hh,coin->utxotable,buf,sizeof(buf),hhutxo);