mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-23 08:27:59 +00:00
make storage-n-map fields public too (#404)
This commit is contained in:
@@ -120,7 +120,7 @@ fn generate_storage_entry_fns(
|
||||
fields.iter().map(|(_, field_type)| field_type);
|
||||
let field_names = fields.iter().map(|(field_name, _)| field_name);
|
||||
let entry_struct = quote! {
|
||||
pub struct #entry_struct_ident( #( #tuple_struct_fields ),* );
|
||||
pub struct #entry_struct_ident( #( pub #tuple_struct_fields ),* );
|
||||
};
|
||||
let constructor =
|
||||
quote!( #entry_struct_ident( #( #field_names ),* ) );
|
||||
|
||||
Reference in New Issue
Block a user