jl777 8 years ago
parent
commit
37633e6060
  1. 2
      basilisk/basilisk.h
  2. 3
      iguana/iguana_sign.c

2
basilisk/basilisk.h

@ -16,7 +16,7 @@
#ifndef H_BASILISK_H #ifndef H_BASILISK_H
#define H_BASILISK_H #define H_BASILISK_H
//#define BASILISK_DISABLESENDTX #define BASILISK_DISABLESENDTX
#define BASILISK_DISABLEWAITTX #define BASILISK_DISABLEWAITTX
#include "../iguana/iguana777.h" #include "../iguana/iguana777.h"

3
iguana/iguana_sign.c

@ -492,6 +492,9 @@ bits256 bitcoin_sigtxid(struct iguana_info *coin,int32_t height,uint8_t *seriali
{ {
dest.vins[i].vinscript = spendscript; dest.vins[i].vinscript = spendscript;
dest.vins[i].scriptlen = spendlen; dest.vins[i].scriptlen = spendlen;
int32_t j; for (j=0; j<spendlen; j++)
printf("%02x",spendscript[j]);
printf(" tmpscript.%d vini.%d\n",spendlen,vini);
} }
else else
{ {

Loading…
Cancel
Save