Skip to content

Commit

Permalink
Merge pull request #257 from MinterTeam/dev
Browse files Browse the repository at this point in the history
v1.0.3
  • Loading branch information
danil-lashin authored Jun 5, 2019
2 parents 19b454b + 5adc21a commit 1761631
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.0.3

BUG FIXES

- [core] Fix coin liquidation issue

## 1.0.2

IMPROVEMENT
Expand Down
2 changes: 1 addition & 1 deletion cmd/minter/cmd/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var RunNode = &cobra.Command{

func runNode() error {
now := time.Now()
startTime := time.Date(2019, time.May, 16, 10, 0, 0, 0, time.UTC)
startTime := time.Date(2019, time.June, 5, 17, 0, 0, 0, time.UTC)
if startTime.After(now) {
fmt.Printf("Start time is in the future, sleeping until %s", startTime)
time.Sleep(startTime.Sub(now))
Expand Down
2 changes: 1 addition & 1 deletion core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ func (s *StateDB) CoinExists(symbol types.CoinSymbol) bool {

stateCoin := s.getStateCoin(symbol)

return stateCoin != nil
return stateCoin != nil && !stateCoin.isDeleted
}

func (s *StateDB) CandidateExists(key types.Pubkey) bool {
Expand Down
4 changes: 2 additions & 2 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ package version
const (
Maj = "1"
Min = "0"
Fix = "2"
Fix = "3"

AppVer = 5
)

var (
// Must be a string because scripts like dist.sh read this file.
Version = "1.0.2"
Version = "1.0.3"

// GitCommit is the current HEAD set using ldflags.
GitCommit string
Expand Down

0 comments on commit 1761631

Please sign in to comment.