Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Dec 6, 2024
1 parent b3b6971 commit 2630cdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fuel-tx/src/transaction/policies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ impl Policies {

// This serde is manually implemented because of the `values` field format.
// Serialization of the `values` field :
// 1. Always write the 4 elements for the policies `Maturity, MaxFee, Tip, WitnessLimit`, even if they are not set for
// backward compatibility.
// 1. Always write the 4 elements for the policies `Maturity, MaxFee, Tip, WitnessLimit`,
// even if they are not set for backward compatibility.
// 2. For the remaining, write the value only if the policy is set.
impl serde::Serialize for Policies {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
Expand Down

0 comments on commit 2630cdc

Please sign in to comment.