test
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
|
||||
// convert paxdeposit into new coins in the next block
|
||||
// paxdeposit equivalent in reverse makes opreturn and KMD does the same in reverse
|
||||
// need to save most processed block in other chain(s)
|
||||
|
||||
const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int32_t opretlen)
|
||||
{
|
||||
@@ -42,6 +41,15 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
|
||||
printf("%02x",pubkey33[i]);
|
||||
printf(" checkpubkey check %.8f v %.8f dest.(%s)\n",dstr(checktoshis),dstr(value),destaddr);
|
||||
typestr = "deposit";
|
||||
#ifdef KOMODO_ISSUER
|
||||
KOMODO_DEPOSIT = fiatoshis;
|
||||
KOMODO_SCRIPTPUBKEY[0] = 0x76;
|
||||
KOMODO_SCRIPTPUBKEY[1] = 0xa9;
|
||||
KOMODO_SCRIPTPUBKEY[2] = 0x14;
|
||||
memcpy(&KOMODO_SCRIPTPUBKEY[3],rmd160,0x14);
|
||||
KOMODO_SCRIPTPUBKEY[23] = 0x88;
|
||||
KOMODO_SCRIPTPUBKEY[24] = 0xac;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
return(typestr);
|
||||
|
||||
Reference in New Issue
Block a user