Skip to content

Commit

Permalink
chore: Fix bids example apps (#2253)
Browse files Browse the repository at this point in the history
  • Loading branch information
lfportal authored Oct 1, 2024
1 parent b5591ff commit fb77b89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ export default function FulfillERC1155WithPassport() {
accountsState[0],
[
{
amount: "1000000", // Insert taker ecosystem/marketplace fee here
recipientAddress: "0x0000000000000000000000000000000000000000", // Replace address with your own marketplace address
amount: "100", // Insert taker ecosystem/marketplace fee here
},
],
unitsToFill,
Expand All @@ -191,7 +191,7 @@ export default function FulfillERC1155WithPassport() {
for (const action of actions) {
if (action.type === orderbook.ActionType.TRANSACTION) {
const builtTx = await action.buildTransaction();
await signer.sendTransaction(builtTx);
await (await signer.sendTransaction(builtTx)).wait(1);
}
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,16 +160,16 @@ export default function FulfillERC721WithPassport() {
accountsState[0],
[
{
amount: "1000000", // Insert taker ecosystem/marketplace fee here
recipientAddress: "0x0000000000000000000000000000000000000000", // Replace address with your own marketplace address
amount: "100", // Insert taker ecosystem/marketplace fee here
},
],
);

for (const action of actions) {
if (action.type === orderbook.ActionType.TRANSACTION) {
const builtTx = await action.buildTransaction();
await signer.sendTransaction(builtTx);
await (await signer.sendTransaction(builtTx)).wait(1);
}
}
};
Expand Down

0 comments on commit fb77b89

Please sign in to comment.