Skip to content

Commit b2fe75a

Browse files
authored
Merge pull request #647 from evoskuil/master
Fix bad variant access (regression) in electrum block header/s.
2 parents b057845 + 900116a commit b2fe75a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/protocols/protocol_electrum.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ void protocol_electrum::blockchain_block_headers(size_t starting,
223223
return;
224224
};
225225

226-
value_t value{};
226+
value_t value{ object_t{} };
227227
auto& result = std::get<object_t>(value.value());
228228
if (multiplicity)
229229
{

0 commit comments

Comments
 (0)