This repository was archived by the owner on Apr 8, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
java/src/main/java/org/ethereum/evmc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ static struct evmc_tx_context get_tx_context_fn(struct evmc_host_context* contex
369369
370370static evmc_bytes32 get_block_hash_fn (struct evmc_host_context * context , int64_t number )
371371{
372- char java_method_name [] = "get_code_hash " ;
372+ char java_method_name [] = "get_block_hash " ;
373373 char java_method_signature [] = "(Lorg/ethereum/evmc/HostContext;J)Ljava/nio/ByteBuffer;" ;
374374
375375 assert (context != NULL );
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ static ByteBuffer get_tx_context(HostContext context) {
6969 }
7070
7171 /** Get block hash callback function. */
72- static ByteBuffer get_block_hash_fn (HostContext context , long number ) {
72+ static ByteBuffer get_block_hash (HostContext context , long number ) {
7373 return ensureDirectBuffer (context .getBlockHash (number ));
7474 }
7575
You can’t perform that action at this time.
0 commit comments