From 40480d06550e6fed4e18e14877afcfcad375af26 Mon Sep 17 00:00:00 2001 From: DeckerSU Date: Wed, 13 Nov 2024 02:30:48 +0100 Subject: [PATCH] add LTC to dpow_015_coins list as iguana should interact with new LTC daemon v0.21.x using getaddressinfo and signrawtransactionwithwallet . --- iguana/dpow/dpow_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/dpow/dpow_rpc.c b/iguana/dpow/dpow_rpc.c index 9207c16e..680fd5b2 100755 --- a/iguana/dpow/dpow_rpc.c +++ b/iguana/dpow/dpow_rpc.c @@ -34,7 +34,7 @@ int32_t dpow_is015(char *symbol) // for dpow_is015 enabled coins validateaddress call will be auto-changed on getaddressinfo, if initial validateaddress // call will return an error, also signrawtransaction will be replaced with signrawtransactionwithwallet, also, it seems // GAME, EMC2 and AYA shouldn't be there, bcz they don't have getaddressinfo and signrawtransactionwithwallet . - const char *dpow_015_coins[] = {"CHIPS", "AYA"}; + const char *dpow_015_coins[] = {"CHIPS", "AYA", "LTC"}; for (size_t i = 0; i < sizeof(dpow_015_coins) / sizeof(dpow_015_coins[0]); i++) { if (0 == strcmp(dpow_015_coins[i],symbol)) return 1;