Skip to content

Commit 2e1e061

Browse files
Remove the map method from the delete contract (#4122)
1 parent 967932a commit 2e1e061

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/tfchain_client/src/contracts.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,6 @@ class Contracts extends QueryContracts {
455455
}
456456
const extrinsic = await this.client.api.tx.smartContractModule.cancelContract(options.id);
457457
return this.client.patchExtrinsic(extrinsic, {
458-
map: () => options.id,
459458
resultEvents: ["NodeContractCanceled", "NameContractCanceled", "RentContractCanceled", "ContractCanceled"],
460459
});
461460
}

0 commit comments

Comments
 (0)