Skip to content

Commit 6a313d8

Browse files
committed
Work around value_t{ size_t } ambiguity (xcode).
1 parent 36701f9 commit 6a313d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/protocols/protocol_electrum.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,8 @@ void protocol_electrum::handle_blockchain_transaction_get_merkle(const code& ec,
568568
object_t
569569
{
570570
{ "merkle", std::move(branch) },
571-
{ "block_height", block_height },
572-
{ "pos", position }
571+
{ "block_height", possible_wide_cast<uint64_t>(block_height) },
572+
{ "pos", possible_wide_cast<uint64_t>(position) }
573573
}
574574
}, two * hash_size * add1(branch.size()), BIND(complete, _1));
575575
}

0 commit comments

Comments
 (0)