From 222e4ce1feb6a3c5f5ae17b9c87fd4d84a67b414 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 24 Nov 2018 09:12:02 -1100 Subject: [PATCH] Fix --- src/komodo-tx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo-tx.cpp b/src/komodo-tx.cpp index d24509c54..3165023e0 100644 --- a/src/komodo-tx.cpp +++ b/src/komodo-tx.cpp @@ -220,7 +220,7 @@ static void MutateTxAddInput(CMutableTransaction& tx, const std::string& strInpu uint256 txid(uint256S(strTxid)); static const unsigned int minTxOutSz = 9; - static const unsigned int maxVout = MAX_BLOCK_SIZE(chainActive.LastTip()->GetHeight()+1) / minTxOutSz; + static const unsigned int maxVout = MAX_BLOCK_SIZE(0) / minTxOutSz; // extract and validate vout std::string strVout = vStrInputParts[1];