Skip to content

Commit e29f26b

Browse files
Squashed 'libbitcoinkernel-sys/bitcoin/' changes from 208700196015..dc54534648c5
dc54534648c5 Change kernel install directory temporarily 44c8782f9869 Add BlockReader functionality to kernel library REVERT: 208700196015 Change kernel install directory temporarily REVERT: 553a7131af46 Add BlockReader functionality to kernel library git-subtree-dir: libbitcoinkernel-sys/bitcoin git-subtree-split: dc54534648c54806d8edcb0b4398d35de6e45240
1 parent d8ffac2 commit e29f26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kernel/blockreader/blockreader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ const kernel_BlockHash* kernel_transaction_out_point_get_hash(const kernel_Trans
446446
const auto* out_point = cast_const_transaction_out_point(_out_point);
447447

448448
auto* block_hash = new kernel_BlockHash{};
449-
std::memcpy(block_hash->hash, out_point->hash.begin(), sizeof(block_hash));
449+
std::memcpy(block_hash->hash, out_point->hash.begin(), sizeof(block_hash->hash));
450450

451451
return block_hash;
452452
}

0 commit comments

Comments
 (0)