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

Commit

Permalink
Merge pull request #155 from nervosnetwork/rc/v0.23.1
Browse files Browse the repository at this point in the history
[ᚬmaster] Rc/v0.23.1
  • Loading branch information
ashchan authored Oct 19, 2019
2 parents ec54621 + 077369f commit 55999b5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# [v0.23.1](https://github.com/nervosnetwork/ckb-sdk-swift/compare/v0.23.0...v0.23.1) (2019-10-19)


### Features

* Set default fee to 1000 shannons



# [v0.23.0](https://github.com/nervosnetwork/ckb-sdk-swift/compare/v0.22.0...v0.23.0) (2019-10-19)


Expand Down
2 changes: 1 addition & 1 deletion CKB.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "CKB"
s.version = "0.23.0"
s.version = "0.23.1"
s.summary = "Swift SDK for Nervos CKB"

s.description = <<-DESC
Expand Down
4 changes: 2 additions & 2 deletions CKB.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 0.23.0;
MARKETING_VERSION = 0.23.1;
PRODUCT_BUNDLE_IDENTIFIER = org.nervos.CKB;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = macosx;
Expand Down Expand Up @@ -1167,7 +1167,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 0.23.0;
MARKETING_VERSION = 0.23.1;
PRODUCT_BUNDLE_IDENTIFIER = org.nervos.CKB;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = macosx;
Expand Down
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 5c4c4a4a60743a7925b0294f5a96868be334a95c

COCOAPODS: 1.8.3
COCOAPODS: 1.8.4
2 changes: 1 addition & 1 deletion Source/Payment/Payment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public final class Payment {
public var signedTx: Transaction?
public var unspentCellCollectorType: UnspentCellCollector.Type! = LiveCellCollector.self

public init(from: String, to: String, amount: Capacity, fee: Capacity = 0, apiClient: APIClient) throws {
public init(from: String, to: String, amount: Capacity, fee: Capacity = 1000, apiClient: APIClient) throws {
guard let fromHash = AddressGenerator.publicKeyHash(for: from) else {
throw Error.invalidFromAddress
}
Expand Down

0 comments on commit 55999b5

Please sign in to comment.