Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Nov 28, 2024
1 parent 7326b00 commit 65e4a1b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Model/Graph/Tag.elm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type alias Input =


userTagToApiTag : { currency : String, entity : Int, address : String } -> Bool -> UserTag -> Api.Data.AddressTag
userTagToApiTag { currency, address} isClusterDefiner tag =
userTagToApiTag { currency, address } isClusterDefiner tag =
{ abuse = tag.abuse
, address = address

Expand Down
16 changes: 8 additions & 8 deletions tests/Data/Api.elm
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ tx1 : Api.Data.TxUtxo
tx1 =
let
outputs =
[ { address = [ Id.address3 |> Id.id ], value = values }
, { address = [ Id.address4 |> Id.id ], value = values }
, { address = [ Id.address5 |> Id.id ], value = values }
[ { address = [ Id.address3 |> Id.id ], value = values, index = Nothing }
, { address = [ Id.address4 |> Id.id ], value = values, index = Nothing }
, { address = [ Id.address5 |> Id.id ], value = values, index = Nothing }
]

inputs =
[ { address = [ Id.address1 |> Id.id ], value = values }
[ { address = [ Id.address1 |> Id.id ], value = values, index = Nothing }
]
in
{ coinbase = False
Expand All @@ -44,11 +44,11 @@ tx2 : Api.Data.TxUtxo
tx2 =
let
inputs =
[ { address = [ Id.address6 |> Id.id ], value = values }
[ { address = [ Id.address6 |> Id.id ], value = values, index = Nothing }
]

outputs =
[ { address = [ Id.address1 |> Id.id ], value = values }
[ { address = [ Id.address1 |> Id.id ], value = values, index = Nothing }
]
in
{ coinbase = False
Expand All @@ -70,11 +70,11 @@ tx3 : Api.Data.TxUtxo
tx3 =
let
inputs =
[ { address = [ Id.address1 |> Id.id ], value = values }
[ { address = [ Id.address1 |> Id.id ], value = values, index = Nothing }
]

outputs =
[ { address = [ Id.address7 |> Id.id ], value = values }
[ { address = [ Id.address7 |> Id.id ], value = values, index = Nothing }
]
in
{ coinbase = False
Expand Down

0 comments on commit 65e4a1b

Please sign in to comment.