Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zilm13 committed Sep 19, 2023
1 parent 3930351 commit 5eb9410
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -748,11 +748,11 @@ void getExpectedWithdrawalsGeneratesList() {
assertThat(withdrawals).hasSize(2);
assertThat(withdrawals.get(0).getValidatorIndex()).isEqualTo(UInt64.valueOf(11));
assertThat(withdrawals.get(0).getAddress())
.isEqualTo(Bytes20.fromHexString("0x93909e937fd7caf97f6bf6b7ab0d3c7ab1b3cde5"));
.isEqualTo(new Bytes20(validators.get(11).getWithdrawalCredentials().slice(12)));
assertThat(withdrawals.get(0).getAmount()).isEqualTo(UInt64.valueOf(1));
assertThat(withdrawals.get(1).getValidatorIndex()).isEqualTo(UInt64.valueOf(0));
assertThat(withdrawals.get(1).getAddress())
.isEqualTo(Bytes20.fromHexString("0x9e5f4c933efa00bee9149c173e895bb108debfe1"));
.isEqualTo(new Bytes20(validators.get(0).getWithdrawalCredentials().slice(12)));
assertThat(withdrawals.get(1).getAmount()).isEqualTo(UInt64.valueOf(1024_000));
}

Expand Down

0 comments on commit 5eb9410

Please sign in to comment.