Skip to content

Commit

Permalink
remove unused tx const
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed Mar 30, 2023
1 parent 7f2bbc2 commit a21ab10
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions deploy/SoulLinker.ts
Expand Up @@ -80,9 +80,7 @@ const func: DeployFunction = async ({

const paymentMethods = env.PAYMENT_METHODS_SOULLINKER.split(" ");
for (let i = 0; i < paymentMethods.length; i++) {
const tx = await soulLinker
.connect(signer)
.enablePaymentMethod(paymentMethods[i]);
await soulLinker.connect(signer).enablePaymentMethod(paymentMethods[i]);
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions deploy/SoulStore.ts
Expand Up @@ -123,9 +123,7 @@ const func: DeployFunction = async ({
// we add payment methods
const paymentMethods = env.PAYMENT_METHODS_SOULSTORE.split(" ");
for (let i = 0; i < paymentMethods.length; i++) {
const tx = await soulStore
.connect(signer)
.enablePaymentMethod(paymentMethods[i]);
await soulStore.connect(signer).enablePaymentMethod(paymentMethods[i]);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion deploy/SoulboundCreditScore.ts
Expand Up @@ -98,7 +98,7 @@ const func: DeployFunction = async ({
const paymentMethods =
env.PAYMENT_METHODS_SOULBOUNDCREDITSCORE.split(" ");
for (let i = 0; i < paymentMethods.length; i++) {
const tx = await soulboundCreditScore
await soulboundCreditScore
.connect(signer)
.enablePaymentMethod(paymentMethods[i]);
}
Expand Down
2 changes: 1 addition & 1 deletion deploy/SoulboundGreen.ts
Expand Up @@ -109,7 +109,7 @@ const func: DeployFunction = async ({
// we add payment methods
const paymentMethods = env.PAYMENT_METHODS_SOULBOUNDGREEN.split(" ");
for (let i = 0; i < paymentMethods.length; i++) {
const tx = await soulboundGreen
await soulboundGreen
.connect(signer)
.enablePaymentMethod(paymentMethods[i]);
}
Expand Down

0 comments on commit a21ab10

Please sign in to comment.