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