diff --git a/src/schema-manager.ts b/src/schema-manager.ts index dbb2bed..d5c5f6d 100644 --- a/src/schema-manager.ts +++ b/src/schema-manager.ts @@ -131,7 +131,8 @@ export class PolygonSchema { if (!uploadSchemaDetails) { throw new Error(`Error while uploading schema on file server!`) } - + // To change the nonce for next transaction + await new Promise((resolve) => setTimeout(resolve, 4000)) const addedResourcetxnReceipt = await this.didRegistry.addResource( parsedDid.didAddress, schemaId,