Skip to content

Commit

Permalink
Remove Uint8Array
Browse files Browse the repository at this point in the history
  • Loading branch information
ensi321 committed Oct 11, 2024
1 parent a37f85f commit 133031d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function upgradeStateToElectra(stateDeneb: CachedBeaconStateDeneb): Cache
pubkey: validator.pubkey,
withdrawalCredentials: validator.withdrawalCredentials,
amount: balance,
signature: new Uint8Array(G2_POINT_AT_INFINITY),
signature: G2_POINT_AT_INFINITY,
slot: GENESIS_SLOT,
});
stateElectra.pendingDeposits.push(pendingDeposit);
Expand Down

0 comments on commit 133031d

Please sign in to comment.