diff --git a/README.md b/README.md index 463c3f983..ddb6a044d 100644 --- a/README.md +++ b/README.md @@ -162,3 +162,15 @@ License ------- For license information see the file [COPYING](COPYING). + + +NOTE TO EXCHANGES: +https://bitcointalk.org/index.php?topic=1605144.msg17732151#msg17732151 +There is a small chance that an outbound transaction will give an error due to mismatched values in wallet calculations. There is a -exchange option that you can run komodod with, but make sure to have the entire transaction history under the same -exchange mode. Otherwise you will get wallet conflicts. + +To change modes: +a) backup all privkeys (launch komodod with -exportdir= and dumpwallet) +b) start a totally new sync including wallet.dat +c) stop it before it gets too far and import all the privkeys from a) +d) resume sync till it gets to chaintip + diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 2417f077e..488962158 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -704,7 +704,7 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3 bitcoin_address(coinaddr,addrtype,rmd160,20); checktoshis = PAX_fiatdest(&seed,tokomodo,destaddr,pubkey33,coinaddr,kmdheight,base,fiatoshis); typestr = "deposit"; - if ( kmdheight <= height ) + //if ( kmdheight <= height ) { didstats = 0; if ( 0 && strcmp(base,ASSETCHAINS_SYMBOL) == 0 ) @@ -769,7 +769,7 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3 } else if ( seed != 0 && kmdheight > 182000 && strcmp(base,ASSETCHAINS_SYMBOL) == 0 ) printf("pax %s deposit %.8f rejected kmdheight.%d %.8f KMD check %.8f seed.%llu\n",base,dstr(fiatoshis),kmdheight,dstr(value),dstr(checktoshis),(long long)seed); - } else printf("paxdeposit height.%d vs kmdheight.%d\n",height,kmdheight); + } //else printf("paxdeposit height.%d vs kmdheight.%d\n",height,kmdheight); } } else if ( opretbuf[0] == 'I' )