Skip to content

Commit

Permalink
cmd: Fix default reward cut and fee cut
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko authored Feb 16, 2022
1 parent a8af913 commit a4fea7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@

#### Orchestrator

- \#2266 Fix default reward cut and fee cut in `livepeer_cli` (@leszko)

#### Transcoder
4 changes: 2 additions & 2 deletions cmd/livepeer_cli/wizard_transcoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ func (w *wizard) promptOrchestratorConfig() (float64, float64, int, int, string)
}

fmt.Printf("Enter block reward cut percentage (current=%v default=%v) - ", blockRewardCut, defaultRewardCut)
blockRewardCut = w.readDefaultFloat(blockRewardCut)
blockRewardCut = w.readDefaultFloat(defaultRewardCut)

fmt.Printf("Enter fee cut percentage (current=%v default=%v) - ", feeCut, defaultFeeCut)
feeCut = w.readDefaultFloat(feeCut)
feeCut = w.readDefaultFloat(defaultFeeCut)

fmt.Println("Enter a transcoding base price in wei per pixels")
fmt.Println("eg. 1 wei / 10 pixels = 0,1 wei per pixel")
Expand Down

0 comments on commit a4fea7d

Please sign in to comment.