We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ffac2 commit e29f26bCopy full SHA for e29f26b
src/kernel/blockreader/blockreader.cpp
@@ -446,7 +446,7 @@ const kernel_BlockHash* kernel_transaction_out_point_get_hash(const kernel_Trans
446
const auto* out_point = cast_const_transaction_out_point(_out_point);
447
448
auto* block_hash = new kernel_BlockHash{};
449
- std::memcpy(block_hash->hash, out_point->hash.begin(), sizeof(block_hash));
+ std::memcpy(block_hash->hash, out_point->hash.begin(), sizeof(block_hash->hash));
450
451
return block_hash;
452
}
0 commit comments