Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

Commit

Permalink
HardFork at block-6713000 to limit emission of Atlantis, Wallet fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainDero committed Mar 30, 2022
1 parent aca1d8f commit a2b278a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
3 changes: 2 additions & 1 deletion walletapi/wallet_transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a2b278a

Please sign in to comment.