diff --git a/src/smartcontracts/typesystem/address.ts b/src/smartcontracts/typesystem/address.ts index 53391e95..ef8db6d0 100644 --- a/src/smartcontracts/typesystem/address.ts +++ b/src/smartcontracts/typesystem/address.ts @@ -23,7 +23,7 @@ export class AddressValue extends PrimitiveValue { constructor(value: IAddress) { super(new AddressType()); - this.value = new Address(value.bech32()); + this.value = Address.newFromBech32(value.bech32()); } getClassName(): string {