Skip to content

Commit

Permalink
Merge pull request #159 from sigrlami/sb/dev-reward-fix-5
Browse files Browse the repository at this point in the history
restore snapshot rate multiplicator
  • Loading branch information
StarNeit authored Nov 17, 2020
2 parents 129cd69 + 5578dd3 commit ba1fc1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ func (d *Pegnetd) DevelopersPayouts(tx *sql.Tx, fLog *log.Entry, height uint32,
txid = fmt.Sprintf("%02d%062d", j, height)

// we calculate developers reward from % pre-defined
rewardPayout := uint64((conversions.PerBlockDevelopers / 100) * dev.DevRewardPct)
rewardPayout := uint64((conversions.PerBlockDevelopers / 100) * dev.DevRewardPct * pegnet.SnapshotRate)
addr, err := factom.NewFAAddress(dev.DevAddress)

_, err = d.Pegnet.AddToBalance(tx, &addr, fat2.PTickerPEG, rewardPayout)
Expand Down

0 comments on commit ba1fc1f

Please sign in to comment.