Skip to content

Commit

Permalink
refactor: Order Validator provider (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexacroes authored Mar 24, 2023
1 parent 93f27bc commit 3285721
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/LooksRare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,9 @@ export class LooksRare {
merkleTrees?: MerkleTree[],
overrides?: Overrides
): Promise<OrderValidatorCode[][]> {
const signer = this.getSigner();
const _merkleTrees = merkleTrees ?? makerOrders.map(() => defaultMerkleTree);
return verifyMakerOrders(
signer,
this.provider,
this.addresses.ORDER_VALIDATOR_V2,
makerOrders,
signatures,
Expand Down

0 comments on commit 3285721

Please sign in to comment.