Skip to content

Commit

Permalink
fix: fully qualify the schema_container method call (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx authored Jan 23, 2023
1 parent 0075253 commit 9ebe04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion near-sdk-macros/src/core_impl/abi/abi_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ fn generate_schema(ty: &Type, serializer_type: &SerializerType) -> TokenStream2
gen.subschema_for::<#ty>()
},
SerializerType::Borsh => quote! {
<#ty>::schema_container()
<#ty as near_sdk::borsh::BorshSchema>::schema_container()
},
}
}
Expand Down

0 comments on commit 9ebe04e

Please sign in to comment.