Browse Source

Test

etomic
jl777 8 years ago
parent
commit
54c6de9dbd
  1. 6
      .gitignore
  2. 7
      basilisk/basilisk_swap.c
  3. 1
      iguana/unparsed.txt

6
.gitignore

@ -162,3 +162,9 @@ iguana/index7778.html
*.json
iguana/DB/KMD/utxo.dat
iguana/unparsed.txt
iguana/unparsed.txt
iguana/unparsed.txt

7
basilisk/basilisk_swap.c

@ -967,7 +967,12 @@ int32_t basilisk_swapget(struct supernet_info *myinfo,struct basilisk_swap *swap
{
if ( swap->messages[i].msgbits == msgbits && bits256_cmp(swap->messages[i].desthash,swap->persistent_pubkey) == 0 )
{
//printf("matched %x datalen.%d\n",msgbits,swap->messages[i].datalen);
if ( swap->messages[i].datalen < 8 )
{
for (i=0; i<swap->messages[i].datalen; i++)
printf("%02x",swap->messages[i].data[i]);
printf("matched %x datalen.%d\n",msgbits,swap->messages[i].datalen);
}
retval = (*basilisk_verify_func)(myinfo,swap,swap->messages[i].data,swap->messages[i].datalen);
break;
}

1
iguana/unparsed.txt

@ -1 +0,0 @@
6304457fbc58b1752102a8840cca0df07b83f53909a449e33ad300f8f72f72fcff2402113056ec281a6dac67a914dd008e8066dfa7f5e138b88892d3b751c39609a5882103d23f308d9f85ec5633122dd6c59e7004ab5915cc073104873a06adeef24eb6dbac68
Loading…
Cancel
Save