Merge pull request #230 from propeller-heads/curve/dc/fix-log

fix: Fix wrong log in CurveEncoder
This commit is contained in:
greendianasaur
2025-06-27 10:03:04 +01:00
committed by GitHub

View File

@@ -440,7 +440,7 @@ impl CurveSwapEncoder {
.iter()
.position(|&addr| addr == token_out)
.ok_or(EncodingError::FatalError(format!(
"Token in address {token_in} not found in curve pool coins"
"Token in address {token_out} not found in curve pool coins"
)))?;
Ok((U8::from(i), U8::from(j)))
}