From 89bcb9210af158028e4e18b00b40982c72d4737a Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 4 Jul 2019 20:07:13 -1100 Subject: [PATCH] Char * --- src/komodo_nSPV.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index f84bc358a..f7a89bc56 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -355,7 +355,7 @@ void NSPV_spentinfo_purge(struct NSPV_spentinfo *ptr) uint256 NSPV_getnotarization_txid(int32_t *ntzheightp,int32_t height) { - uint256 txid; Notarisation nota; char *symbol = (ASSETCHAINS_SYMBOL[0] == 0) ? "KMD" : ASSETCHAINS_SYMBOL; + uint256 txid; Notarisation nota; char *symbol = (ASSETCHAINS_SYMBOL[0] == 0) ? (char *)"KMD" : ASSETCHAINS_SYMBOL; memset(&txid,0,sizeof(txid)); *ntzheightp = 0; int32_t matchedHeight = ScanNotarisationsDB(height,symbol,1440,nota);