Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonNorthey92 committed Aug 6, 2024
1 parent bbd95e2 commit ebc8bfa
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions e2e/e2e_ext_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2310,7 +2310,6 @@ func TestPopPayoutsMultiplePages(t *testing.T) {
var txIndex uint64 = 1

for range 151 {

privateKey, err := dcrsecp256k1.GeneratePrivateKeyFromRand(rand.Reader)
if err != nil {
t.Fatal(err)
Expand Down Expand Up @@ -2357,9 +2356,8 @@ func TestPopPayoutsMultiplePages(t *testing.T) {
L2BlockForPayout: serializedL2Keystone[:],
}

if err := bssapi.Write(
ctx, bws.conn, "someid", popPayoutsRequest,
); err != nil {
err = bssapi.Write(ctx, bws.conn, "someid", popPayoutsRequest)
if err != nil {
t.Fatal(err)
}

Expand All @@ -2385,9 +2383,8 @@ func TestPopPayoutsMultiplePages(t *testing.T) {
}

popPayoutsRequest.Page = 1
if err := bssapi.Write(
ctx, bws.conn, "someid", popPayoutsRequest,
); err != nil {
err = bssapi.Write(ctx, bws.conn, "someid", popPayoutsRequest)
if err != nil {
t.Fatal(err)
}

Expand All @@ -2412,9 +2409,8 @@ func TestPopPayoutsMultiplePages(t *testing.T) {
}

popPayoutsRequest.Page = 2
if err := bssapi.Write(
ctx, bws.conn, "someid", popPayoutsRequest,
); err != nil {
err = bssapi.Write(ctx, bws.conn, "someid", popPayoutsRequest)
if err != nil {
t.Fatal(err)
}

Expand Down

0 comments on commit ebc8bfa

Please sign in to comment.