Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaos Dymitriadis <[email protected]>
  • Loading branch information
AmbientTea committed Jan 9, 2025
1 parent 58f9a14 commit 03500da
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions toolkit/utils/ogmios-client/tests/query_ledger_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use ogmios_client::{
types::{Asset, OgmiosBytesSize, OgmiosTx, OgmiosUtxo, OgmiosValue, SlotLength, TimeSeconds},
};
use serde_json::json;
use sidechain_domain::UtxoId;

mod server;

Expand Down Expand Up @@ -296,10 +297,10 @@ async fn query_utxos_by_tx_hash() {
.unwrap();
let client = HttpClient::builder().build(format!("http://{address}")).unwrap();
let utxo = client
.query_utxo_by_id(
hex!("106b0d7d1544c97941777041699412fb7c8b94855210987327199620c0599580").into(),
.query_utxo_by_id(UtxoId::new(
hex!("106b0d7d1544c97941777041699412fb7c8b94855210987327199620c0599580"),
1,
)
))
.await
.unwrap();
assert_eq!(
Expand Down

0 comments on commit 03500da

Please sign in to comment.