Skip to content

Commit 0e9020a

Browse files
committed
feat(voter): update build deactiate payload
1 parent 16fe712 commit 0e9020a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/voter/src/voter.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,18 +306,16 @@ export class VoterClient {
306306
async buildDeactivatePayload({
307307
stateIdx,
308308
operatorPubkey,
309-
plan,
310309
derivePathParams,
311310
}: {
312311
stateIdx: number;
313312
operatorPubkey: bigint;
314-
plan: [number, number][];
315313
derivePathParams?: DerivePathParams;
316314
}) {
317315
const payload = this.batchGenMessage(
318316
stateIdx,
319317
operatorPubkey,
320-
plan,
318+
[[0, 0]],
321319
derivePathParams
322320
);
323321
return payload;

0 commit comments

Comments
 (0)