Skip to content

Commit

Permalink
fix: wrap $ty in angle brackets for ABI macro (#877)
Browse files Browse the repository at this point in the history
itegulov authored Aug 3, 2022

Verified

This commit was signed with the committer’s verified signature.
Byron Sebastian Thiel
1 parent 55ded86 commit bdf54e9
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
@@ -175,7 +175,7 @@ fn generate_abi_type(ty: &Type, serializer_type: &SerializerType) -> TokenStream
},
SerializerType::Borsh => quote! {
near_sdk::__private::AbiType::Borsh {
type_schema: #ty::schema_container(),
type_schema: <#ty>::schema_container(),
}
},
}

0 comments on commit bdf54e9

Please sign in to comment.