Test
This commit is contained in:
@@ -696,7 +696,7 @@ UniValue musig_spend(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
|||||||
prevhash = juint256(jitem(params,0));
|
prevhash = juint256(jitem(params,0));
|
||||||
scriptstr = jstr(jitem(params,1),0);
|
scriptstr = jstr(jitem(params,1),0);
|
||||||
musigstr = jstr(jitem(params,2),0);
|
musigstr = jstr(jitem(params,2),0);
|
||||||
printf("script.(%s) musig.(%s) %d\n",scriptstr,musigstr,(int32_t)strlen(musigstr));
|
printf("script.(%s) %d musig.(%s) %d\n",scriptstr,is_hexstr(scriptstr,0),musigstr,is_hexstr(musigstr,0));
|
||||||
if ( is_hexstr(scriptstr,0) != 0 && is_hexstr(musigstr,0) != 128 )
|
if ( is_hexstr(scriptstr,0) != 0 && is_hexstr(musigstr,0) != 128 )
|
||||||
{
|
{
|
||||||
if ( txfee == 0 )
|
if ( txfee == 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user