mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 12:14:21 +01:00
fix typo and spacing
This commit is contained in:
@@ -208,7 +208,7 @@ func coinSelect(vtxos []vtxo, amount uint64, sortByExpirationTime bool) ([]vtxo,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if selectedAmount < amount {
|
if selectedAmount < amount {
|
||||||
return nil, 0, fmt.Errorf("not enough funds to cover amount%d", amount)
|
return nil, 0, fmt.Errorf("not enough funds to cover amount %d", amount)
|
||||||
}
|
}
|
||||||
|
|
||||||
change := selectedAmount - amount
|
change := selectedAmount - amount
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ func coinSelect(vtxos []vtxo, amount uint64, sortByExpirationTime bool) ([]vtxo,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if selectedAmount < amount {
|
if selectedAmount < amount {
|
||||||
return nil, 0, fmt.Errorf("not enough funds to cover amount%d", amount)
|
return nil, 0, fmt.Errorf("not enough funds to cover amount %d", amount)
|
||||||
}
|
}
|
||||||
|
|
||||||
change := selectedAmount - amount
|
change := selectedAmount - amount
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ func CoinSelect(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if selectedAmount < amount {
|
if selectedAmount < amount {
|
||||||
return nil, 0, fmt.Errorf("not enough funds to cover amount%d", amount)
|
return nil, 0, fmt.Errorf("not enough funds to cover amount %d", amount)
|
||||||
}
|
}
|
||||||
|
|
||||||
change := selectedAmount - amount
|
change := selectedAmount - amount
|
||||||
|
|||||||
@@ -673,8 +673,8 @@ func (s *covenantlessService) startFinalization() {
|
|||||||
|
|
||||||
signedTree, err := coordinator.SignTree()
|
signedTree, err := coordinator.SignTree()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
round.Fail(fmt.Errorf("failed to aggragate tree signatures: %s", err))
|
round.Fail(fmt.Errorf("failed to aggregate tree signatures: %s", err))
|
||||||
log.WithError(err).Warn("failed aggragate tree signatures")
|
log.WithError(err).Warn("failed to aggregate tree signatures")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user