Skip to content

Commit bdcf47e

Browse files
committed
fix invalid Soroban symbol fixtures
1 parent 4a02edb commit bdcf47e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • contracts/ledgerlens-aggregator/src

contracts/ledgerlens-aggregator/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ fn shard_supports_required_interface(env: &Env, shard: &Address) -> bool {
138138
fn asset_pair_is_bounded(env: &Env, asset_pair: &Symbol) -> bool {
139139
let pair = soroban_sdk::SymbolStr::try_from_val(env, &asset_pair.to_symbol_val());
140140
match pair {
141-
Ok(pair) => pair.as_ref().len() as u32 <= MAX_ASSET_PAIR_BYTES,
141+
Ok(pair) => pair.len() as u32 <= MAX_ASSET_PAIR_BYTES,
142142
Err(_) => false,
143143
}
144144
}

0 commit comments

Comments
 (0)