add utxo_release as hotfix for stuck balances

This commit is contained in:
Niko Storni 2020-04-01 04:49:24 +02:00
parent eba59a0806
commit 79d3aadda8

View file

@ -781,6 +781,10 @@ func (s *Sync) doSync() error {
if err != nil { if err != nil {
return errors.Prefix("could not import the transferee public key", err) return errors.Prefix("could not import the transferee public key", err)
} }
_, err = s.daemon.UTXORelease(nil)
if err != nil {
return errors.Prefix("could not run uxo_release", err)
}
err = s.walletSetup() err = s.walletSetup()
if err != nil { if err != nil {
return errors.Prefix("Initial wallet setup failed! Manual Intervention is required.", err) return errors.Prefix("Initial wallet setup failed! Manual Intervention is required.", err)