Skip to content

Commit d50df30

Browse files
committed
Fix variable reference for dataset registry address in DataProtector module
1 parent 193e10c commit d50df30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/smart-contract/ignition/modules/DataProtector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default buildModule('DataProtectorModule', (m) => {
77
const datasetRegistryAddress = env.DATASET_REGISTRY_ADDRESS || defaultDatasetRegistryAddress;
88

99
// Deploy DataProtector with the registry address as constructor argument
10-
const dataProtector = m.contract('DataProtector', [DATASET_REGISTRY_ADDRESS]);
10+
const dataProtector = m.contract('DataProtector', [datasetRegistryAddress]);
1111

1212
// Return the deployed contract
1313
return { dataProtector };

0 commit comments

Comments
 (0)