From 02dff970a5b7c330a49a9b7530ded6a930db9094 Mon Sep 17 00:00:00 2001 From: Daniil Lashin Date: Mon, 17 Sep 2018 07:35:58 +0300 Subject: [PATCH] v0.3.7 --- CHANGELOG.md | 7 +++++++ api/balance_watcher.go | 4 ++++ docker-compose.yml | 2 +- version/version.go | 4 ++-- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0b8e7540..02ffef793 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.3.7 +*Sept 17th, 2018* + +IMPROVEMENT + +- [core] Performance update + ## 0.3.6 *Sept 15th, 2018* diff --git a/api/balance_watcher.go b/api/balance_watcher.go index 20f9ee5bc..e13acfac0 100644 --- a/api/balance_watcher.go +++ b/api/balance_watcher.go @@ -49,6 +49,10 @@ func handleBalanceChanges() { func handleBalanceChange(msg state.BalanceChangeStruct) { + if len(clients) < 1 { + return + } + defer func() { if r := recover(); r != nil { log.Error("Error in balance change handler") diff --git a/docker-compose.yml b/docker-compose.yml index 6a2215dc2..e0e05ea7e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.4" services: minter: - image: minterteam/minter:0.3.4 + image: minterteam/minter:0.3.7 volumes: - ~/.minter:/minter ports: diff --git a/version/version.go b/version/version.go index 37ce6daba..698ccb2f1 100755 --- a/version/version.go +++ b/version/version.go @@ -4,12 +4,12 @@ package version const ( Maj = "0" Min = "3" - Fix = "6" + Fix = "7" ) var ( // Must be a string because scripts like dist.sh read this file. - Version = "0.3.6" + Version = "0.3.7" // GitCommit is the current HEAD set using ldflags. GitCommit string