Skip to content

Commit aaec86e

Browse files
authored
fix td (#257)
1 parent bac9dcd commit aaec86e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/network/src/manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl<N: FullNetwork<Primitives = ScrollNetworkPrimitives>> ScrollNetworkManager<
119119
.collect();
120120

121121
let eth_wire_new_block = {
122-
let td = U128::from_limbs([0, block.block.header.number]);
122+
let td = U128::from(block.block.header.number);
123123
let mut eth_wire_block = block.block.clone();
124124
eth_wire_block.header.extra_data = block.signature.clone().into();
125125
EthWireNewBlock { block: eth_wire_block, td }

0 commit comments

Comments
 (0)