Browse Source

Fixes

pull/4/head
jl777 6 years ago
parent
commit
6a71342500
  1. 6
      src/cc/channels.cpp
  2. 6
      src/komodo-tx.cpp

6
src/cc/channels.cpp

@ -429,12 +429,6 @@ int64_t AddChannelsInputs(struct CCcontract_info *cp,CMutableTransaction &mtx, C
else return 0;
}
int32_t komodo_nextheight()
{
return(100000000);
}
std::string ChannelOpen(uint64_t txfee,CPubKey destpub,int32_t numpayments,int64_t payment)
{
CMutableTransaction mtx = CreateNewContextualCMutableTransaction(Params().GetConsensus(), komodo_nextheight());

6
src/komodo-tx.cpp

@ -178,6 +178,12 @@ static void RegisterLoad(const std::string& strInput)
}
int32_t komodo_nextheight()
{
return(100000000);
}
// Set default values of new CMutableTransaction based on consensus rules at given height.
CMutableTransaction CreateNewContextualCMutableTransaction(const Consensus::Params& consensusParams, int nHeight)
{

Loading…
Cancel
Save