Skip to content

Commit e8947c7

Browse files
committed
trivial: Expand the code comment regarding pubkey destination
1 parent 459d4e1 commit e8947c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core_write.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ void ScriptToUniv(const CScript& script, UniValue& out, bool include_hex, bool i
165165

166166
std::vector<std::vector<unsigned char>> solns;
167167
const TxoutType type{Solver(script, solns)};
168-
//Blackcoin need to see the encoded pubkey address
168+
// Blackcoin: We need to see the encoded pubkey address.
169+
// This is essentially a reversal of Bitcoin PR #16725
169170
if (include_address && ExtractDestination(script, address)) /*&& type != TxoutType::PUBKEY)*/ {
170171
out.pushKV("address", EncodeDestination(address));
171172
}

0 commit comments

Comments
 (0)