Check for -port

This commit is contained in:
jl777
2018-12-28 03:25:18 -11:00
parent 67f3678435
commit a3f0af586e
3 changed files with 44 additions and 15 deletions

View File

@@ -26,8 +26,6 @@
int NOTARISATION_SCAN_LIMIT_BLOCKS = 1440;
CBlockIndex *komodo_getblockindex(uint256 hash);
extern std::string ASSETCHAINS_SELFIMPORT;
int32_t GetSelfimportProof(TxProof &proof,CTransaction burnTx,uint256 hash);
/* On KMD */
@@ -293,13 +291,6 @@ TxProof GetAssetchainProof(uint256 hash,CTransaction burnTx)
CBlockIndex* blockIndex;
Notarisation nota;
std::vector<uint256> branch;
if ( ASSETCHAINS_SELFIMPORT.size() > 0 )
{
TxProof proof;
if ( GetSelfimportProof(proof,burnTx,hash) < 0 )
throw std::runtime_error("Failed validating selfimport");
return(proof);
}
{
uint256 blockHash;
CTransaction tx;