Skip to content

Commit

Permalink
fix BlockTimestampType
Browse files Browse the repository at this point in the history
ref #24
  • Loading branch information
YaroShkvorets committed Jul 30, 2024
1 parent 4a320a9 commit c6618b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion abigen/src/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ mod tests {
("float128", quote! { Float128 }, quote! {}),
("time_point", quote! { TimePoint }, quote! {}),
("time_point_sec", quote! { TimePointSec }, quote! {}),
("block_timestamp_type", quote! { BlockTimeStampType }, quote! {}),
("block_timestamp_type", quote! { BlockTimestampType }, quote! {}),
("name", quote! { Name }, quote! {}),
("&[u8]", quote! { Bytes }, quote! {}),
("string", quote! { String }, quote! {}),
Expand Down
2 changes: 1 addition & 1 deletion abigen/src/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn abi_type_to_rust_type(tp: &str) -> Option<&str> {
"float128" => "Float128",
"time_point" => "TimePoint",
"time_point_sec" => "TimePointSec",
"block_timestamp_type" => "BlockTimeStampType",
"block_timestamp_type" => "BlockTimestampType",
"name" => "Name",
"&[u8]" => "Bytes",
"string" => "String",
Expand Down

0 comments on commit c6618b6

Please sign in to comment.