Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gitofdeepanshu committed Sep 21, 2023
1 parent a737b87 commit f074988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion precompiles/utils/src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl<K: Kind, S: Get<u32>> EvmData for BoundedBytesString<K, S> {
writer.write_pointer(
EvmDataWriter::new()
.write(U256::from(length))
.write(value)
.write_raw_bytes(&value)
.build(),
);
}
Expand Down

0 comments on commit f074988

Please sign in to comment.