DERO-HE STARGATE Testnet Release11

This commit is contained in:
Captain 2021-02-23 15:21:42 +00:00
parent 28cc7479fe
commit 32fc6d612e
No known key found for this signature in database
GPG Key ID: 18CDB3ED5E85D2D4
2 changed files with 3 additions and 3 deletions

View File

@ -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("3.2.0-14.DEROHE.STARGATE+23022021")
var Version = semver.MustParse("3.2.0-16.DEROHE.STARGATE+23022021")

View File

@ -228,11 +228,11 @@ func (w *Wallet_Memory) processPool(checkonly bool) error {
try.Status = "TX in Mempool"
continue
} else if tx_result.Txs[0].ValidBlock != "" { // if the result is valid in one of the blocks
try.Status = fmt.Sprintf("Mined in %s (%d confirmations)", tx_result.Txs[0].ValidBlock, info.Height-tx_result.Txs[0].Block_Height)
try.Status = fmt.Sprintf("Mined in %s (%d confirmations)", tx_result.Txs[0].ValidBlock, info.TopoHeight-tx_result.Txs[0].Block_Height)
if try.Height < (info.StableHeight + 1) { // successful confirmation
w.account.PoolHistory = append(w.account.PoolHistory, w.account.Pool[i])
w.account.Pool = append(w.account.Pool[:i], w.account.Pool[i+1:]...)
rlog.Infof("tx %s confirmed successfully at stableheight %d height %d trigger_height %d\n", try.TXID.String(), info.StableHeight, try.Height, w.account.Pool[i].Trigger_Height)
w.account.Pool = append(w.account.Pool[:i], w.account.Pool[i+1:]...)
i-- // so another element at same place gets used
}