upgrade SDK
fix UTXO creation time waste
This commit is contained in:
parent
29479a73a7
commit
5460224cd6
2 changed files with 5 additions and 2 deletions
|
@ -21,7 +21,7 @@ services:
|
|||
## Wallet Server ##
|
||||
###################
|
||||
walletserver:
|
||||
image: lbry/wallet-server:v0.51.2
|
||||
image: lbry/wallet-server:v0.60.0
|
||||
restart: always
|
||||
environment:
|
||||
- DB_DIRECTORY=/database
|
||||
|
@ -47,7 +47,7 @@ services:
|
|||
## Lbrynet ##
|
||||
#############
|
||||
lbrynet:
|
||||
image: lbry/lbrynet:v0.51.2
|
||||
image: lbry/lbrynet:v0.60.0
|
||||
restart: always
|
||||
ports:
|
||||
- "15100:5279"
|
||||
|
|
|
@ -222,6 +222,9 @@ func (s *Sync) ensureEnoughUTXOs() error {
|
|||
if desiredUTXOCount > maxUTXOs {
|
||||
desiredUTXOCount = maxUTXOs
|
||||
}
|
||||
if desiredUTXOCount < uint64(confirmedCount) {
|
||||
return nil
|
||||
}
|
||||
availableBalance, _ := balance.Available.Float64()
|
||||
log.Infof("Splitting balance of %.3f evenly between %d UTXOs", availableBalance, desiredUTXOCount)
|
||||
|
||||
|
|
Loading…
Reference in a new issue