Skip to content

Commit 2373e34

Browse files
committed
fixed withdrawal data selecting
1 parent a712a31 commit 2373e34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/bridge/withdrawal/withdrawal.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ func NewConsensusMechanism[T DepositSigningData](
5050
var pendingWithdrawalStatus = types.WithdrawalStatus_WITHDRAWAL_STATUS_PENDING
5151
return &ConsensusMechanism[T]{
5252
depositSelector: db.DepositsSelector{
53-
ChainId: &chainId,
54-
Status: &pendingWithdrawalStatus,
55-
One: true,
53+
WithdrawalChainId: &chainId,
54+
Status: &pendingWithdrawalStatus,
55+
One: true,
5656
},
5757
depositsQ: depositsQ,
5858
constructor: constructor,

0 commit comments

Comments
 (0)