We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0960218 + da86b21 commit 73bb7bfCopy full SHA for 73bb7bf
1 file changed
src/impl/btc/share_tracker.hpp
@@ -548,7 +548,9 @@ class ShareTracker
548
if constexpr (requires { s->m_pubkey_hash; })
549
miner = s->m_pubkey_hash.GetHex();
550
else if constexpr (requires { s->m_address; })
551
- miner = HexStr(s->m_address.m_data);
+ // MSVC: disambiguate HexStr overload (std::vector<unsigned char> is viable
552
+ // for all span overloads). Feed the exact byte span the uint8_t overload wants.
553
+ miner = HexStr(Span<const uint8_t>(s->m_address.m_data.data(), s->m_address.m_data.size()));
554
m_on_share_difficulty(diff, miner);
555
});
556
}
0 commit comments