|
|
@ -412,7 +412,7 @@ void dpow_rawtxsign(struct supernet_info *myinfo,struct dpow_info *dp,struct igu |
|
|
|
if ( (sobj= jobj(item,"scriptSig")) != 0 && (sigstr= jstr(sobj,"hex")) != 0 && strlen(sigstr) > 32 ) |
|
|
|
{ |
|
|
|
valid = 0; |
|
|
|
if ( dp->ratifying != 0 && j == 0 ) |
|
|
|
if ( dp->ratifying != 0 && j == 0 && bp->myind == 0 ) |
|
|
|
valid = 1; |
|
|
|
else if ( (pubstr= jstr(vinitem,"scriptPubKey")) != 0 && is_hexstr(pubstr,0) == 66 ) |
|
|
|
{ |
|
|
@ -433,7 +433,7 @@ void dpow_rawtxsign(struct supernet_info *myinfo,struct dpow_info *dp,struct igu |
|
|
|
dpow_sigsend(myinfo,dp,bp,myind,bestk,bestmask,srchash,src_or_dest != 0 ? DPOW_SIGBTCCHANNEL : DPOW_SIGCHANNEL); |
|
|
|
retval = 0; |
|
|
|
break; |
|
|
|
} else printf("sig didnt match pubkey? (%s)\n",jprint(vinitem,0)); |
|
|
|
} else printf("sig.%d of %d didnt match pubkey? (%s)\n",j,m,jprint(vinitem,0)); |
|
|
|
} // else printf("notmine.(%s)\n",jprint(item,0));
|
|
|
|
} |
|
|
|
} else printf("no vin[] (%s)\n",jprint(txobj2,0)); |
|
|
|