Skip to content

Commit

Permalink
fix: wrong conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
heueristik committed Oct 29, 2024
1 parent c8fccec commit 5709059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Applib/Utils/Counter/Label.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CounterLabel-Eq : Eq CounterLabel :=
};

getCounterLabel (resource : Resource) : CounterLabel :=
resource |> Resource.labelRef |> LabelRef.unLabelRef |> anomaEncode |> anomaDecode;
resource |> Resource.labelRef |> Reference.from |> Label.unLabel |> anomaDecode;

getNullifierfFromLabel (resource : Resource) : Nullifier :=
resource |> getCounterLabel |> CounterLabel.nullifier;

0 comments on commit 5709059

Please sign in to comment.