Skip to content

Commit 158cb40

Browse files
committed
fix: name conflict from rebase to unstable
1 parent b06b310 commit 158cb40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/beacon-node/src/network/reqresp/handlers/beaconBlocksByRange.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export async function* onBeaconBlocksByRange(
2525
for await (const {key, value} of finalized.binaryEntriesStream({gte: startSlot, lt: endSlot})) {
2626
const {name, seq} = chain.config.getForkInfo(finalized.decodeKey(key));
2727
yield {
28-
data: await chain.blindedOrFullToFullBytes(seq, value),
28+
data: await chain.blindedOrFullBlockToFullBytes(seq, value),
2929
fork: name,
3030
};
3131
}
@@ -57,7 +57,7 @@ export async function* onBeaconBlocksByRange(
5757

5858
const {name, seq} = chain.config.getForkInfo(block.slot);
5959
yield {
60-
data: await chain.blindedOrFullToFullBytes(seq, blockBytes),
60+
data: await chain.blindedOrFullBlockToFullBytes(seq, blockBytes),
6161
fork: name,
6262
};
6363
}

0 commit comments

Comments
 (0)