Skip to content

Commit

Permalink
chore: fix stressnet with new BLS keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Dec 13, 2024
1 parent b1bfba6 commit d312475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p2p/integrationtest/provider/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ func (b *ProviderClient) CheckAndStake() (string, error) {
}

if stakedAmt.Cmp(big.NewInt(0)) > 0 {
b.logger.Error("bidder already staked")
b.logger.Error("provider already staked")
if len(stakeAmt.BlsPublicKeys) == 0 {
return "", errors.New("bidder already staked but no BLS public keys found")
return "", errors.New("provider already staked but no BLS public keys found")
}
return stakeAmt.BlsPublicKeys[0], nil
}
Expand Down

0 comments on commit d312475

Please sign in to comment.