Adjust convertSiV0toV1 import location (#4082)

This commit is contained in:
Jaco
2021-10-19 08:47:06 +03:00
committed by GitHub
parent 6f66eb2b66
commit 1e383315e2
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
import type { ContractMetadataLatest, ContractMetadataV0 } from '@polkadot/types/interfaces';
import type { Registry } from '@polkadot/types/types';
import { convertSiV0toV1 } from '@polkadot/types/generic/PortableRegistry';
import { convertSiV0toV1 } from '@polkadot/types';
export function toLatest (registry: Registry, v0: ContractMetadataV0): ContractMetadataLatest {
return registry.createType('ContractMetadataLatest', {