Browse Source

test

acspeed
jl777 8 years ago
parent
commit
9eea5530b0
  1. 2
      iguana/dpow/dpow_tx.c

2
iguana/dpow/dpow_tx.c

@ -414,7 +414,7 @@ void dpow_rawtxsign(struct supernet_info *myinfo,struct dpow_info *dp,struct igu
valid = 0;
if ( dp->ratifying != 0 && j == 0 && bp->myind == 0 )
valid = 1;
else if ( (pubstr= jstr(vinitem,"scriptPubKey")) != 0 && is_hexstr(pubstr,0) == 66 )
else if ( (pubstr= jstr(vinitem,"scriptPubKey")) != 0 && is_hexstr(pubstr,0) == 70 )
{
decode_hex(pubkey33,33,&pubstr[2]);
if ( memcmp(pubkey33,dp->minerkey33,33) == 0 )

Loading…
Cancel
Save