This commit is contained in:
jl777
2016-10-19 11:13:40 -03:00
parent d2b5dd031b
commit 9c406099f1

View File

@@ -222,8 +222,7 @@ int32_t komodo_notaryfind(uint8_t *pubkey)
int32_t komodo_voutupdate(int32_t notaryid,uint8_t *scriptbuf,int32_t scriptlen,int32_t height,uint256 txhash,int32_t i,int32_t j,uint64_t *voutmaskp,int32_t *specialtxp,int32_t *notarizedheightp)
{
int32_t k,opretlen,len = 0; uint256 kmdtxid,btctxid; uint8_t crypto777[33];
printf("len.%d [0].%d [34].%d\n",len,scriptbuf[0],scriptbuf[34]);
if ( len == 35 && scriptbuf[0] == 33 && scriptbuf[34] == 0xac )
if ( scriptlen == 35 && scriptbuf[0] == 33 && scriptbuf[34] == 0xac )
{
decode_hex(crypto777,33,(char *)CRYPTO777_PUBSECPSTR);
for (k=0; k<33; k++)