File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ export async function sweepFunds(opts: SweepOptions) {
119119 contracts : { } ,
120120 orderbookTradeTypes : { } as any ,
121121 maxConcurrency : 0 ,
122+ skipSweep : new Set ( ) ,
122123 } ;
123124
124125 // prepare state config fields
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ orderbookTradeTypes:
187187 timeout : "20000" ,
188188 maxRatio : true ,
189189 maxConcurrency : undefined ,
190- skipSweep : new Set ( ) ,
190+ skipSweep : undefined ,
191191 ownerProfile : [
192192 { "0x4444444444444444444444444444444444444444" : "100" } ,
193193 { "0x5555555555555555555555555555555555555555" : "max" } ,
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ describe("Test WalletManager", () => {
5858 getBalance : vi . fn ( ) . mockResolvedValue ( 0n ) ,
5959 chain : { contracts : { multicall3 : { address : "0xmulticall" } } } ,
6060 } ,
61+ appOptions : {
62+ skipSweep : new Set ( ) ,
63+ } ,
6164 } as any ) ;
6265
6366 multiWalletState = new SharedState ( {
@@ -81,6 +84,9 @@ describe("Test WalletManager", () => {
8184 getBalance : vi . fn ( ) . mockResolvedValue ( 0n ) ,
8285 chain : { contracts : { multicall3 : { address : "0xmulticall" } } } ,
8386 } ,
87+ appOptions : {
88+ skipSweep : new Set ( ) ,
89+ } ,
8490 } as any ) ;
8591
8692 workerSigner = RainSolverSigner . create (
You can’t perform that action at this time.
0 commit comments