From dd0a99e2d9801dc48c18986dd0467ae84fa1c1d5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 3 Jul 2019 21:26:01 -1100 Subject: [PATCH] Decoded wif 38 bytes --- 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 18fa5afdc..f2a41ff48 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -864,7 +864,7 @@ UniValue NSPV_spentinfo(uint256 txid,int32_t vout) UniValue NSPV_login(char *wifstr) { UniValue result(UniValue::VOBJ); char coinaddr[64]; uint8_t data[64]; int32_t len; - if ( (len= bitcoin_base58decode(data,wifstr)) != 32 ) + if ( (len= bitcoin_base58decode(data,wifstr)) != 38 ) { result.push_back(Pair("result","error")); result.push_back(Pair("error","invalid wif"));