Skip to content

Commit 5b28d88

Browse files
author
Shon Feder
committed
Fix lightclient typedefs
The new syntax for parametric types has enabled us to catch the error here: the target type started with a lowercase letter, and so was accidentally a variable.
1 parent 95f5fad commit 5b28d88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/cosmos/lightclient/typedefs.qnt

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ module typedefs {
1313
Commits: Set[str]
1414
}
1515

16-
type Blockchain = int -> blockHeader
17-
type LightBlockMap = int -> lightBlock
16+
type Blockchain = int -> BlockHeader
17+
type LightBlockMap = int -> LightBlock
1818
type LightBlockStatus = int -> str
1919

20-
}
20+
}

0 commit comments

Comments
 (0)