Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/impl/btc/share_tracker.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,9 @@ class ShareTracker
if constexpr (requires { s->m_pubkey_hash; })
miner = s->m_pubkey_hash.GetHex();
else if constexpr (requires { s->m_address; })
miner = HexStr(s->m_address.m_data);
// MSVC: disambiguate HexStr overload (std::vector<unsigned char> is viable
// for all span overloads). Feed the exact byte span the uint8_t overload wants.
miner = HexStr(Span<const uint8_t>(s->m_address.m_data.data(), s->m_address.m_data.size()));
m_on_share_difficulty(diff, miner);
});
}
Expand Down
Loading