Skip to content

Commit 1bc4fff

Browse files
committed
try to fix build error again
1 parent 30a82ac commit 1bc4fff

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

node/sync.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ func (d *Pegnetd) DevelopersPayouts(tx *sql.Tx, fLog *log.Entry, height uint32,
503503
txid := fmt.Sprintf("%064d", height)
504504

505505
// we use hardcoded list of dev payouts
506+
i := 0
506507
for _, dev := range DeveloperRewardAddreses {
507508

508509
// we calculate developers reward from % pre-defined
@@ -515,7 +516,8 @@ func (d *Pegnetd) DevelopersPayouts(tx *sql.Tx, fLog *log.Entry, height uint32,
515516
}
516517

517518
// Mock entry hash value
518-
addTxid := fmt.Sprintf("%d-%s", 0, txid)
519+
addTxid := fmt.Sprintf("%d-%s", i, txid)
520+
i++
519521

520522
// Get dev address as FAAdress
521523
FADevAddress, err := factom.NewFAAddress(dev.DevAddress)

0 commit comments

Comments
 (0)