From 56c6c06b3980d26aa428c3c538a4c42ea5c1d0e7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 7 May 2018 17:48:32 +0300 Subject: [PATCH] Test --- src/komodo_gateway.h | 2 +- src/wallet/rpcwallet.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 5a660ab33..e190b3986 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -696,7 +696,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block,uint32_t prevtim overflow = 1; break; } - if ( script[0] != 0x6a && val < 5000 ) + if ( i > 1 && script[0] != 0x6a && val < 5000 ) strangeout++; total += val; if ( total < prevtotal || (val != 0 && total == prevtotal) ) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 53ae9ddd7..47d8010c9 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4533,8 +4533,8 @@ int32_t komodo_notaryvin(CMutableTransaction &txNew,uint8_t *notarypub33) ptr = (uint8_t *)sigdata.scriptSig.data(); siglen = sigdata.scriptSig.size(); for (i=0; i