Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #3070

Merged
merged 1 commit into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/devtool/devtool.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {
if !goodToGo {
fmt.Println(`
Usage: go run cmd/devtool/devtool.go setup broadcaster|transcoder [nodeIndex]
It will create initilize eth account (on private testnet) to be used for broadcaster or transcoder
It will create initialize eth account (on private testnet) to be used for broadcaster or transcoder
and will create shell script (run_broadcaster_ETHACC.sh or run_transcoder_ETHACC.sh) to run it.
Node index indicates how much to offset node's port. Orchestrator node's index by default is 1.
For example:
Expand Down
2 changes: 1 addition & 1 deletion pm/recipient.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type Recipient interface {
RedeemWinningTicket(ticket *Ticket, sig []byte, seed *big.Int) error

// TicketParams returns the recipient's currently accepted ticket parameters
// for a provided sender ETH adddress
// for a provided sender ETH address
TicketParams(sender ethcommon.Address, price *big.Rat) (*TicketParams, error)

// TxCostMultiplier returns the tx cost multiplier for an address
Expand Down
2 changes: 1 addition & 1 deletion pm/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (s *sender) CreateTicketBatch(sessionID string, size int) (*TicketBatch, er
ticketParams := &session.ticketParams

expirationParams := ticketParams.ExpirationParams
// Ensure backwards compatbility
// Ensure backwards compatibility
// If no expirationParams are included by O
// B sets the values based upon its last seen round
if expirationParams == nil || expirationParams.CreationRound == 0 || expirationParams.CreationRoundBlockHash == (ethcommon.Hash{}) {
Expand Down
2 changes: 1 addition & 1 deletion pm/stub.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ func (m *MockRecipient) RedeemWinningTicket(ticket *Ticket, sig []byte, seed *bi
}

// TicketParams returns the recipient's currently accepted ticket parameters
// for a provided sender ETH adddress
// for a provided sender ETH address
func (m *MockRecipient) TicketParams(sender ethcommon.Address, price *big.Rat) (*TicketParams, error) {
args := m.Called(sender, price)

Expand Down
Loading