diff --git a/src/core_write.cpp b/src/core_write.cpp index bccfb960d8..e5d347130c 100644 --- a/src/core_write.cpp +++ b/src/core_write.cpp @@ -165,8 +165,8 @@ void ScriptToUniv(const CScript& script, UniValue& out, bool include_hex, bool i std::vector> solns; const TxoutType type{Solver(script, solns)}; - - if (include_address && ExtractDestination(script, address) && type != TxoutType::PUBKEY) { + //Blackcoin need to see the encoded pubkey address + if (include_address && ExtractDestination(script, address)) /*&& type != TxoutType::PUBKEY)*/ { out.pushKV("address", EncodeDestination(address)); } out.pushKV("type", GetTxnOutputType(type));