Skip to content

Commit

Permalink
refactor: name
Browse files Browse the repository at this point in the history
  • Loading branch information
heueristik committed Nov 8, 2024
1 parent 2bed1dd commit ad3144b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Anoma/Transaction/AppData.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type AppDataKey := mkAppDataKey@{unAppDataKey : Nat};
--- TODO Add an equivalent to `anomaEncode` and `anomaDecode` to be able to change this to ;ByteArray;.
type AppDataValue :=
mkAppDataValue@{
value : Nat;
data : Nat;
deletionCriterion : DeletionCriterion;
};

Expand Down Expand Up @@ -63,7 +63,7 @@ module AppDataValueInternal;
compare (lhs rhs : AppDataValue) : Ordering :=
let
prod (value : AppDataValue) : _ :=
AppDataValue.value value, AppDataValue.deletionCriterion value;
AppDataValue.data value, AppDataValue.deletionCriterion value;
in Ord.cmp (prod lhs) (prod rhs);

--- Implements the ;Ord; trait for ;AppDataValue;.
Expand Down

0 comments on commit ad3144b

Please sign in to comment.