Fixes
This commit is contained in:
@@ -429,12 +429,6 @@ int64_t AddChannelsInputs(struct CCcontract_info *cp,CMutableTransaction &mtx, C
|
|||||||
else return 0;
|
else return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int32_t komodo_nextheight()
|
|
||||||
{
|
|
||||||
return(100000000);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ChannelOpen(uint64_t txfee,CPubKey destpub,int32_t numpayments,int64_t payment)
|
std::string ChannelOpen(uint64_t txfee,CPubKey destpub,int32_t numpayments,int64_t payment)
|
||||||
{
|
{
|
||||||
CMutableTransaction mtx = CreateNewContextualCMutableTransaction(Params().GetConsensus(), komodo_nextheight());
|
CMutableTransaction mtx = CreateNewContextualCMutableTransaction(Params().GetConsensus(), komodo_nextheight());
|
||||||
|
|||||||
@@ -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.
|
// Set default values of new CMutableTransaction based on consensus rules at given height.
|
||||||
CMutableTransaction CreateNewContextualCMutableTransaction(const Consensus::Params& consensusParams, int nHeight)
|
CMutableTransaction CreateNewContextualCMutableTransaction(const Consensus::Params& consensusParams, int nHeight)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user