Special case ht.1

This commit is contained in:
jl777
2018-05-30 05:30:21 -11:00
parent 44bbf01edf
commit dc241f13d0
2 changed files with 2 additions and 2 deletions

View File

@@ -744,7 +744,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block,uint32_t prevtim
else
{
checktoshis = 0;
if ( ASSETCHAINS_COMMISSION != 0 )
if ( ASSETCHAINS_COMMISSION != 0 && height > 1 )
{
if ( (checktoshis= komodo_checkcommission((CBlock *)&block,height)) < 0 )
return(-1);