Browse Source

Set scriptPubKey

pull/4/head
jl777 6 years ago
parent
commit
3023ca419f
  1. 4
      src/miner.cpp

4
src/miner.cpp

@ -636,8 +636,8 @@ CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey,int32_t nHeight,in
{
len = strlen(ASSETCHAINS_SCRIPTPUB.c_str());
len >>= 1;
pubkey.resize(len);
ptr = (uint8_t *)pubkey.data();
scriptPubKey.resize(len);
ptr = (uint8_t *)scriptPubKey.data();
decode_hex(ptr,len,ASSETCHAINS_SCRIPTPUB.c_str());
}
}

Loading…
Cancel
Save