need to delay issuing fiat chain coins so it will have the deposit event in time and not reject
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
// a. automate notarization fee payouts
|
// a. automate notarization fee payouts
|
||||||
// b. automated distribution of test REVS snapshot
|
// b. automated distribution of test REVS snapshot
|
||||||
|
|
||||||
//#define KOMODO_ASSETCHAINS_WAITNOTARIZE
|
#define KOMODO_ASSETCHAINS_WAITNOTARIZE
|
||||||
#define KOMODO_PAXMAX (10000 * COIN)
|
#define KOMODO_PAXMAX (10000 * COIN)
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -476,7 +476,7 @@ int32_t komodo_gateway_deposits(CMutableTransaction *txNew,char *base,int32_t to
|
|||||||
{
|
{
|
||||||
{
|
{
|
||||||
#ifdef KOMODO_ASSETCHAINS_WAITNOTARIZE
|
#ifdef KOMODO_ASSETCHAINS_WAITNOTARIZE
|
||||||
if ( kmdsp != 0 && kmdsp->NOTARIZED_HEIGHT >= pax->height ) // assumes same chain as notarize
|
if ( kmdsp != 0 && (kmdsp->NOTARIZED_HEIGHT >= pax->height || kmdsp->CURRENT_HEIGHT > pax->height+30) ) // assumes same chain as notarize
|
||||||
pax->validated = pax->komodoshis; //kmdsp->NOTARIZED_HEIGHT;
|
pax->validated = pax->komodoshis; //kmdsp->NOTARIZED_HEIGHT;
|
||||||
else pax->validated = pax->ready = 0;
|
else pax->validated = pax->ready = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user