Pass payment tx hash in deployment request (#19)

Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75)

Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Reviewed-on: cerc-io/snowballtools-base#19
This commit is contained in:
2024-10-29 09:12:39 +00:00
co-authored by IshaVenikar
parent 519e318190
commit 0f18bc978e
8 changed files with 121 additions and 56 deletions
+2 -2
View File
@@ -442,7 +442,7 @@ export class GQLClient {
}
async verifyTx(txHash: string, amount: string, senderAddress: string): Promise<boolean> {
const { data: verifyTx } = await this.client.query({
const { data } = await this.client.query({
query: queries.verifyTx,
variables: {
txHash,
@@ -451,6 +451,6 @@ export class GQLClient {
}
});
return verifyTx;
return data.verifyTx;
}
}