From 3a0ad358cc3f31d1d6899dc36d9a5c928fb70433 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 9 Mar 2017 21:29:59 +0200 Subject: [PATCH] Test --- iguana/iguana_sign.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/iguana/iguana_sign.c b/iguana/iguana_sign.c index 043f0d827..b45ff6938 100755 --- a/iguana/iguana_sign.c +++ b/iguana/iguana_sign.c @@ -1462,12 +1462,6 @@ int32_t iguana_signrawtransaction(struct supernet_info *myinfo,struct iguana_inf flag = (msgtx->vins[i].vinscript[0] == 0); type = bitcoin_scriptget(coin,&hashtype,&sigsize,&pubkeysize,&userdata,&userdatalen,&mainvin,msgtx->vins[i].vinscript+flag,msgtx->vins[i].scriptlen-flag,0); printf("i.%d flag.%d type.%d scriptlen.%d\n",i,flag,type,msgtx->vins[i].scriptlen); - if ( flag != 0 && pubkeysize == 33 ) // jl777: need to generalize this - { - for (k=0; kvins[i].redeemscript != 0 ) { //for (j=0; jvins[i].p2shlen; j++)