diff --git a/src/cc/CCutils.cpp b/src/cc/CCutils.cpp index 93fddee67..9d024cded 100644 --- a/src/cc/CCutils.cpp +++ b/src/cc/CCutils.cpp @@ -492,12 +492,12 @@ bool komodo_txnotarizedconfirmed(uint256 txid) return(0); } confirms=1 + pindex->GetHeight() - txheight; - if ( KOMODO_DPOWCONFS != 0 && txheight > 0 && confirms > 0 && (sp= komodo_stateptr(symbol,dest)) != 0 ) + if ( txheight > 0 && confirms > 0 && (sp= komodo_stateptr(symbol,dest)) != 0 ) { if ( (notarized=sp->NOTARIZED_HEIGHT) > 0 ) { if ( txheight >= sp->NOTARIZED_HEIGHT ) - confirms=1; + confirms = (txheight - sp->NOTARIZED_HEIGHT); } } #ifdef TESTMODE @@ -508,4 +508,4 @@ bool komodo_txnotarizedconfirmed(uint256 txid) else if (notarized==0 && confirms >= MIN_NON_NOTARIZED_CONFIRMS) return (true); return (false); -} \ No newline at end of file +} diff --git a/src/cc/dapps/zmigrate.c b/src/cc/dapps/zmigrate.c index a86b529ad..81de2c13d 100644 --- a/src/cc/dapps/zmigrate.c +++ b/src/cc/dapps/zmigrate.c @@ -906,7 +906,7 @@ int32_t main(int32_t argc,char **argv) zsaddr = clonestr(argv[2]); printf("%s: %s %s\n",REFCOIN_CLI,coinstr,zsaddr); uint32_t lastopid; char coinaddr[64],zcaddr[128],opidstr[128]; int32_t finished; int64_t amount,stdamount,txfee; - stdamount = 1000 * SATOSHIDEN; + stdamount = 10000 * SATOSHIDEN; txfee = 10000; again: printf("start processing zmigrate\n");