chore(chain): Fix Indexed and KeychainIndexed documentaion
Co-authored-by: ValuedMammal <valuedmammal@protonmail.com>
This commit is contained in:
parent
b8ba5a0206
commit
5a584d0fd8
@ -49,9 +49,9 @@ impl Balance {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A tuple of keychain index and corresponding [`ScriptBuf`].
|
/// A tuple of keychain index and `T` representing the indexed value.
|
||||||
pub type Indexed<T> = (u32, T);
|
pub type Indexed<T> = (u32, T);
|
||||||
/// A tuple of keychain, index and the [`ScriptBuf`] derived at that location.
|
/// A tuple of keychain `K`, derivation index (`u32`) and a `T` associated with them.
|
||||||
pub type KeychainIndexed<K, T> = ((K, u32), T);
|
pub type KeychainIndexed<K, T> = ((K, u32), T);
|
||||||
|
|
||||||
impl core::fmt::Display for Balance {
|
impl core::fmt::Display for Balance {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user