diff --git a/packages/core/src/vcdm/Address.ts b/packages/core/src/vcdm/Address.ts index 942f50997..6ba492a41 100644 --- a/packages/core/src/vcdm/Address.ts +++ b/packages/core/src/vcdm/Address.ts @@ -115,7 +115,7 @@ class Address extends HexUInt { throw new InvalidDataType( 'Address.ofPrivateKey', 'not a valid private key', - { privateKey: `${privateKey}` }, + { privateKey: 'private key is obfuscated' }, error ); }