Skip to content

Commit 0707fed

Browse files
author
dragonheaven
committed
tokenSupply Amount
1 parent 7d881dd commit 0707fed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

node/sync.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func (d *Pegnetd) MintTokensForBalance(ctx context.Context, tx *sql.Tx, height u
184184
}
185185

186186
for _, tokenSupply := range MintTotalSupplyMap {
187-
_, err := d.Pegnet.AddToBalance(tx, &FAGlobalMintAddress, tokenSupply.Ticker, tokenSupply.Amount)
187+
_, err := d.Pegnet.AddToBalance(tx, &FAGlobalMintAddress, tokenSupply.Ticker, tokenSupply.Amount*1e8)
188188
if err != nil {
189189
fLog.WithFields(log.Fields{
190190
"token": tokenSupply.Ticker,
@@ -276,7 +276,7 @@ func (d *Pegnetd) NullifyBurnAddress(ctx context.Context, tx *sql.Tx, height uin
276276
}).Info("zeroing burn | balances retrieval failed")
277277
}
278278

279-
i := 0 // value to keep witin 0-9 range for mock tx
279+
i := 0 // value to keep witin 0-9 range for mock tx
280280
j := 0 // value for uniqueness
281281
if height >= V202EnhanceActivation {
282282
j = 50

0 commit comments

Comments
 (0)