File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { iPartialLiquidatorAbi } from "@gearbox-protocol/liquidator-v2-contracts/abi" ;
22import type { CreditAccountData } from "@gearbox-protocol/sdk" ;
3- import { formatBN , TypedObjectUtils } from "@gearbox-protocol/sdk" ;
3+ import { ADDRESS_0X0 , formatBN , TypedObjectUtils } from "@gearbox-protocol/sdk" ;
44import {
55 calcLiquidatableLTs ,
66 createAnvilClient ,
@@ -204,7 +204,7 @@ export default class SingularPartialLiquidator extends SingularLiquidator<Partia
204204
205205 try {
206206 const { result : preview } = await this . client . pub . simulateContract ( {
207- account : this . client . account ,
207+ account : ADDRESS_0X0 ,
208208 address : liquidatorAddr ,
209209 abi : [ ...iPartialLiquidatorAbi , ...exceptionsAbis ] ,
210210 functionName : "previewPartialLiquidation" ,
You can’t perform that action at this time.
0 commit comments