Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #569 from Bytom/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
wliyongfeng authored Apr 10, 2018
2 parents f50aabb + 66685b4 commit 8a6b761
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions mining/mining.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ func createCoinbaseTx(accountManager *account.Manager, amount uint64, blockHeigh
return
}

byteData, err := txData.MarshalText()
if err != nil {
return
}
txData.SerializedSize = uint64(len(byteData))

tx = &types.Tx{
TxData: *txData,
Tx: types.MapTx(txData),
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package version

var (
// The full version string
Version = "0.4.3"
Version = "0.4.4"
// GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
GitCommit string
)
Expand Down

0 comments on commit 8a6b761

Please sign in to comment.