Skip to content

Commit

Permalink
fix getting number of contracts to deploy from config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Jul 4, 2024
1 parent 7b17467 commit 416fd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/testconfig/ocr/ocr.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (o *Config) ConfigureExistingOffChainAggregatorsContracts() bool {
}

func (o *Config) GetNumberOfContractsToDeploy() int {
if o.Soak != nil && o.Common.NumberOfContracts != nil {
if o.Common != nil && o.Common.NumberOfContracts != nil {
return *o.Common.NumberOfContracts
}
return 0
Expand Down

0 comments on commit 416fd23

Please sign in to comment.