Allow small second output
This commit is contained in:
@@ -649,7 +649,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
|
|||||||
script = (uint8_t *)block.vtx[0].vout[n-1].scriptPubKey.data();
|
script = (uint8_t *)block.vtx[0].vout[n-1].scriptPubKey.data();
|
||||||
if ( n <= 2 || script[0] != 0x6a )
|
if ( n <= 2 || script[0] != 0x6a )
|
||||||
{
|
{
|
||||||
if ( n == 2 && block.vtx[0].vout[1].nValue != 0 )
|
if ( n == 2 && block.vtx[0].vout[1].nValue > COIN/10 )
|
||||||
{
|
{
|
||||||
//fprintf(stderr,">>>>>>>> <<<<<<<<<< ht.%d illegal nonz output %.8f n.%d\n",height,dstr(block.vtx[0].vout[1].nValue),n);
|
//fprintf(stderr,">>>>>>>> <<<<<<<<<< ht.%d illegal nonz output %.8f n.%d\n",height,dstr(block.vtx[0].vout[1].nValue),n);
|
||||||
if ( height >= 235300 )
|
if ( height >= 235300 )
|
||||||
|
|||||||
Reference in New Issue
Block a user