Skip to content

Commit

Permalink
vms/platformvm/utxo: fix typo (ava-labs#2094)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyuho authored Oct 7, 2022
1 parent 6d65f4c commit 803b9eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vms/platformvm/utxo/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,9 @@ func (h *handler) Spend(
amountBurned := uint64(0)

for _, utxo := range utxos {
// If we have consumed more AVAX than we are trying to stake, and we
// have burned more AVAX then we need to, then we have no need to
// consume more AVAX
// If we have consumed more AVAX than we are trying to stake,
// and we have burned more AVAX than we need to,
// then we have no need to consume more AVAX
if amountBurned >= fee && amountStaked >= amount {
break
}
Expand Down

0 comments on commit 803b9eb

Please sign in to comment.