Skip to content

Commit

Permalink
fix: remove seaport version from seaport-js constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Jeston committed Mar 26, 2024
1 parent 69029c8 commit cb5ace2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/orderbook/src/seaport/seaport-lib-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@ export class SeaportLibFactory {
) { }

create(orderSeaportVersion?: SeaportVersion, orderSeaportAddress?: string): SeaportLib {
const seaportVersion = orderSeaportVersion ?? SEAPORT_CONTRACT_VERSION_V1_5;
const seaportContractAddress = orderSeaportAddress ?? this.defaultSeaportContractAddress;

return new SeaportLib(convertToV6Provider(this.provider), {
seaportVersion,
balanceAndApprovalChecksOnOrderCreation: true,
overrides: {
contractAddress: seaportContractAddress,
Expand Down

0 comments on commit cb5ace2

Please sign in to comment.