Skip to content

Commit

Permalink
Merge branch '26.x' into segwit_bdev
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackcoinDev committed Sep 23, 2024
2 parents 20e4b1e + 81faf71 commit 15d9adc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ void ScriptToUniv(const CScript& script, UniValue& out, bool include_hex, bool i

std::vector<std::vector<unsigned char>> 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));
}
Expand Down

0 comments on commit 15d9adc

Please sign in to comment.