This repository was archived by the owner on Sep 13, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments