From 1f0e61fef950e785304cb005c34e4551314bc9bd Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 13 Dec 2018 00:53:50 -1100 Subject: [PATCH] Set asset chain txversion to 4, other than OOT and ZILLA --- iguana/exchanges/LP_coins.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iguana/exchanges/LP_coins.c b/iguana/exchanges/LP_coins.c index 43100fcc3..7115d8680 100644 --- a/iguana/exchanges/LP_coins.c +++ b/iguana/exchanges/LP_coins.c @@ -540,6 +540,8 @@ struct iguana_info *LP_coincreate(cJSON *item) { coin = LP_coinadd(&cdata); coin->inactive = (uint32_t)time(NULL); + if ( coin->isassetchain != 0 && strcmp(symbol,"OOT") != 0 && strcmp(symbol,"ZILLA") != 0 ) + coin->txversion = 4; } else coin = LP_coinadd(&cdata); } else if ( symbol != 0 && jobj(item,"rpcport") == 0 ) printf("SKIP %s, missing rpcport field in coins array\n",symbol);