Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

Commit 5852f8d

Browse files
authored
Merge pull request #13 from nervosnetwork/rc/v0.3.4
2 parents 32b5849 + 4ef28d2 commit 5852f8d

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# [v0.3.4](https://github.com/nervosnetwork/ckb-rosetta-sdk/compare/v0.3.3...v0.3.4) (2020-10-12)
2+
3+
4+
### Features
5+
6+
* use config Network replace string var ([d486aea](https://github.com/nervosnetwork/ckb-rosetta-sdk/commit/d486aea))
7+
8+
9+
110
# [v0.3.3](https://github.com/nervosnetwork/ckb-rosetta-sdk/compare/v0.3.2...v0.3.3) (2020-10-11)
211

312

RELEASENOTES.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# [v0.3.3](https://github.com/nervosnetwork/ckb-rosetta-sdk/compare/v0.3.2...v0.3.3) (2020-10-11)
1+
# [v0.3.4](https://github.com/nervosnetwork/ckb-rosetta-sdk/compare/v0.3.3...v0.3.4) (2020-10-12)
22

33

44
### Features
55

6-
* add rosetta cli configs ([d7f2a3a](https://github.com/nervosnetwork/ckb-rosetta-sdk/commit/d7f2a3a))
6+
* use config Network replace string var ([d486aea](https://github.com/nervosnetwork/ckb-rosetta-sdk/commit/d486aea))
7+
78

server/services/construction_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func (s *ConstructionAPIService) ConstructionDerive(
267267
}
268268

269269
prefix := address.Mainnet
270-
if s.network.Network != "Mainnet" {
270+
if s.network.Network != s.cfg.Network {
271271
prefix = address.Testnet
272272
}
273273

0 commit comments

Comments
 (0)