Skip to content

Commit 7089e69

Browse files
committed
Fix doc warning.
1 parent 01a4530 commit 7089e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ For the quick proof of concept application the value can be unwrapped using [`un
6767

6868
#### `ChainParameters`
6969

70-
The `v2::ChainParameters` `enum` has been replaced by [`types::chain_parameters::ChainParameters`](types::chain_parameters::ChainParameters), which is a single `struct` with optional fields.
70+
The `v2::ChainParameters` `enum` has been replaced by [`types::chain_parameters::ChainParameters`], which is a single `struct` with optional fields.
7171
Applications should no longer case on the version of the chain parameters, but can directly access the relevant parameters.
7272
Since parameters are added and removed across different protocol versions, each parameter is optional, even if it is present in all current protocol versions, in case it may be removed in a future protocol version.
7373
The prior functions on `ChainParameters` have been removed, and should be migrated as set out below.

0 commit comments

Comments
 (0)