Skip to content

Commit

Permalink
fix: name conflict from rebase to unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Oct 22, 2023
1 parent b06b310 commit 158cb40
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function* onBeaconBlocksByRange(
for await (const {key, value} of finalized.binaryEntriesStream({gte: startSlot, lt: endSlot})) {
const {name, seq} = chain.config.getForkInfo(finalized.decodeKey(key));
yield {
data: await chain.blindedOrFullToFullBytes(seq, value),
data: await chain.blindedOrFullBlockToFullBytes(seq, value),
fork: name,
};
}
Expand Down Expand Up @@ -57,7 +57,7 @@ export async function* onBeaconBlocksByRange(

const {name, seq} = chain.config.getForkInfo(block.slot);
yield {
data: await chain.blindedOrFullToFullBytes(seq, blockBytes),
data: await chain.blindedOrFullBlockToFullBytes(seq, blockBytes),
fork: name,
};
}
Expand Down

0 comments on commit 158cb40

Please sign in to comment.