diff --git a/.gitignore b/.gitignore index adfe8a1d..dbdd0de4 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,7 @@ # Nix build results result -TODO.txt \ No newline at end of file +TODO.txt + +# IntelliJ +.idea/ \ No newline at end of file diff --git a/src/reducers/full_utxos_by_address.rs b/src/reducers/full_utxos_by_address.rs index d58a9ab9..bc63fed6 100644 --- a/src/reducers/full_utxos_by_address.rs +++ b/src/reducers/full_utxos_by_address.rs @@ -69,7 +69,7 @@ impl Reducer { } let mut assets: Vec = Vec::new(); - for asset in utxo.non_ada_assets() { + for asset in utxo.assets() { match asset { Asset::Ada(lovelace_amt) => { assets.push(json!({