Skip to content

Commit 93cc1fd

Browse files
committed
fix panic
1 parent e29cd41 commit 93cc1fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cl/cltypes/epbs_builder.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func (b *BuilderPendingPayment) DecodeSSZ(buf []byte, version int) error {
118118

119119
func (b *BuilderPendingPayment) Clone() clonable.Clonable {
120120
return &BuilderPendingPayment{
121-
Weight: b.Weight,
122-
Withdrawal: b.Withdrawal.Clone().(*BuilderPendingWithdrawal),
121+
Weight: 0,
122+
Withdrawal: &BuilderPendingWithdrawal{},
123123
}
124124
}

0 commit comments

Comments
 (0)