stellar / rs-soroban-env

Rust environment for Soroban contracts.
Apache License 2.0
60 stars 39 forks source link

Reuse hash method in `metered_hash_xdr` #1385

Closed jayz22 closed 3 months ago

jayz22 commented 3 months ago

What

Reuse the sha256_hash_from_bytes_raw instead of reimplementing it in metered_hash_xdr

Why

[TODO: Why this change is being made. Include any context required to understand the why.]

Known limitations

[TODO or N/A]