Skip to content

Commit

Permalink
chore: address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Nov 25, 2024
1 parent fdc155e commit 15cb74d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/stakercli/transaction/transactions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ func appRunCreatePhase1WithdrawalTx(r *rand.Rand, t *testing.T, app *cli.App, ar
return data
}

func randRange(_ *rand.Rand, minV, maxV int) int {
return rand.Intn(maxV+1-minV) + minV
func randRange(r *rand.Rand, minV, maxV int) int {
return r.Intn(maxV+1-minV) + minV
}

type StakeParameters struct {
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions staker/stakerapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ func (app *App) SendPhase1Transaction(
return err
}

// pop only works for native segwit address
pop, err := app.createPop(stakerAddr)
if err != nil {
return err
Expand Down

0 comments on commit 15cb74d

Please sign in to comment.