diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 34c2aa1c3..2b69a18aa 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -7,7 +7,7 @@ name: continuous-integration-main jobs: ci: strategy: - max-parallel: 1 + max-parallel: 2 matrix: rust: [ stable, nightly ] runs-on: ubuntu-latest diff --git a/pallets/stellar-relay/src/validation.rs b/pallets/stellar-relay/src/validation.rs index 8ea4c8134..acbb668ca 100644 --- a/pallets/stellar-relay/src/validation.rs +++ b/pallets/stellar-relay/src/validation.rs @@ -207,7 +207,6 @@ pub fn validate_envelopes<'a, T: Config>( validated_envelopes.push(envelope); } - // it's ok to use unwrap here, since the size will be <= to the provided envelopes Ok(UnlimitedVarArray::new(validated_envelopes).unwrap_or(UnlimitedVarArray::new_empty())) }