Skip to content

Commit 35f5b05

Browse files
authored
Merge pull request #27 from esco/patch-1
Fix sample code
2 parents a181b1f + 4b1bb1d commit 35f5b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ if (!approvalStatusForUserB.contractApproved) {
138138
// The taker approves the trade transaction and it will be submitted on the blockchain for settlement.
139139
// Once the transaction is confirmed, the trade will be settled and cannot be reversed.
140140
const fillTx = await nftSwapSdk.fillSignedOrder(signedOrder);
141-
const fillTxReceipt = await nftSwapSdk.awaitTransactionHash(fillTx);
141+
const fillTxReceipt = await nftSwapSdk.awaitTransactionHash(fillTx.hash);
142142
console.log(`🎉 🥳 Order filled. TxHash: ${fillTxReceipt.transactionHash}`);
143143
```
144144

0 commit comments

Comments
 (0)