Skip to content

Commit

Permalink
Merge pull request #191 from MinterTeam/dev
Browse files Browse the repository at this point in the history
v0.9.1
  • Loading branch information
danil-lashin authored Dec 24, 2018
2 parents c673529 + 3db94ae commit 960c737
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.9.1
*Dec 24th, 2018*

BUG FIXES

- [api] Fix create coin tx error

## 0.9.0
*Dec 24th, 2018*

Expand Down
2 changes: 1 addition & 1 deletion api/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func Block(height int64) (*BlockResponse, error) {

gas := tx.Gas()
if tx.Type == transaction.TypeCreateCoin {
gas += tx.GetDecodedData().(transaction.CreateCoinData).Commission()
gas += tx.GetDecodedData().(*transaction.CreateCoinData).Commission()
}

txs[i] = BlockTransactionResponse{
Expand Down
2 changes: 1 addition & 1 deletion api/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func Transaction(hash []byte) (*TransactionResponse, error) {

gas := decodedTx.Gas()
if decodedTx.Type == transaction.TypeCreateCoin {
gas += decodedTx.GetDecodedData().(transaction.CreateCoinData).Commission()
gas += decodedTx.GetDecodedData().(*transaction.CreateCoinData).Commission()
}

return &TransactionResponse{
Expand Down
2 changes: 1 addition & 1 deletion api/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func Transactions(query string) (*[]TransactionResponse, error) {

gas := decodedTx.Gas()
if decodedTx.Type == transaction.TypeCreateCoin {
gas += decodedTx.GetDecodedData().(transaction.CreateCoinData).Commission()
gas += decodedTx.GetDecodedData().(*transaction.CreateCoinData).Commission()
}

result[i] = TransactionResponse{
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.4"
services:
minter:
image: minterteam/minter:0.9.0
image: minterteam/minter:0.9.1
volumes:
- ~/.minter:/minter
ports:
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 = "0"
Min = "9"
Fix = "0"
Fix = "1"

AppVer = 1
)

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

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

0 comments on commit 960c737

Please sign in to comment.