Skip to content

Commit badaca7

Browse files
committed
graph: Simplify update_ethereum_block_pointer_operations
1 parent 2b8d8e6 commit badaca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graph/src/data/subgraph/schema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ impl SubgraphDeploymentEntity {
314314
block_ptr_to: EthereumBlockPointer,
315315
) -> Vec<MetadataOperation> {
316316
let mut entity = Entity::new();
317-
entity.set("latestEthereumBlockHash", block_ptr_to.hash_hex());
317+
entity.set("latestEthereumBlockHash", block_ptr_to.hash);
318318
entity.set("latestEthereumBlockNumber", block_ptr_to.number);
319319

320320
vec![update_metadata_operation(

0 commit comments

Comments
 (0)