diff --git a/substrate/primitives/runtime/src/type_with_default.rs b/substrate/primitives/runtime/src/type_with_default.rs index 2a5c0c4682dc7..b70d0e1ef766a 100644 --- a/substrate/primitives/runtime/src/type_with_default.rs +++ b/substrate/primitives/runtime/src/type_with_default.rs @@ -565,7 +565,7 @@ mod tests { } } type U64WithDefault = TypeWithDefault; - impl WrapAtLeast64Bit for U64WithDefault {} + impl WrapAtLeast32Bit for U64WithDefault {} struct Getu128; impl Get for Getu128 { @@ -574,7 +574,7 @@ mod tests { } } type U128WithDefault = TypeWithDefault; - impl WrapAtLeast128Bit for U128WithDefault {} + impl WrapAtLeast32Bit for U128WithDefault {} assert_eq!(U8WithDefault::type_info(), ::type_info()); assert_eq!(U16WithDefault::type_info(), ::type_info());