Check for -port
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user