diff --git a/config/version.go b/config/version.go index 98ac7a0..e3a17a3 100644 --- a/config/version.go +++ b/config/version.go @@ -20,4 +20,4 @@ import "github.com/blang/semver" // right now it has to be manually changed // do we need to include git commitsha?? -var Version = semver.MustParse("2.2.2-13.Atlantis.Astrobwt+11032022") +var Version = semver.MustParse("2.2.2-14.Atlantis.Astrobwt+11032022") diff --git a/walletapi/wallet_transfer.go b/walletapi/wallet_transfer.go index cf4bb4b..870f726 100644 --- a/walletapi/wallet_transfer.go +++ b/walletapi/wallet_transfer.go @@ -717,7 +717,8 @@ func (w *Wallet) select_outputs_for_transfer(needed_amount uint64, fees uint64, } // do not select indexes which are past HF and which are dust - if tx.TXdata.Height <= config.HF5_HEIGHT && tx.WAmount > 20 && inputmaturity.Is_Input_Mature(w.Get_Height(), +// if tx.TXdata.Height <= config.HF5_HEIGHT && tx.WAmount > 20 && inputmaturity.Is_Input_Mature(w.Get_Height(), + if inputmaturity.Is_Input_Mature(w.Get_Height(), tx.TXdata.Height, tx.TXdata.Unlock_Height, tx.TXdata.SigType) && !w.IsKeyImageSpent(tx.WKimage) {