Skip to content

Commit

Permalink
Provided ability to add decorated signature to transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
estatico3 committed Jul 9, 2019
1 parent 9e45c66 commit 3a51255
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PODS:
- DLCryptoKit (2.0.1):
- DLOpenSSL
- DLOpenSSL (1.0.2)
- TokenDWallet (3.0.3):
- TokenDWallet (3.0.4):
- DLCryptoKit (>= 2.0.1)

DEPENDENCIES:
Expand All @@ -20,7 +20,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
DLCryptoKit: 491c522583e92c90c09c06bf1192ef741022af33
DLOpenSSL: 78d928228cb6d95fcaa354f4f9aba041ccf95457
TokenDWallet: c82987e63da4c5fe9b6509d192c538d57a6ebe14
TokenDWallet: 755bde6e2b4582a1ddd09b729e64e86ec715c1e3

PODFILE CHECKSUM: 2ff703f484f93022caae12590846b6530f3c4419

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ public class TransactionModel {
self.signatures.append(decoratedSignature)
}

/// Method signs transaction with signature
/// - Parameters:
/// - signature: Decorated signature which is used to sign transaction
public func addSignature(signature: DecoratedSignature) throws {
self.signatures.append(signature)
}

/// Method retruns transaction's envelope
/// - Returns: `TransactionEnvelope`
public func getEnvelope() -> TransactionEnvelope {
Expand Down
2 changes: 1 addition & 1 deletion TokenDWallet.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'TokenDWallet'
s.version = '3.0.3'
s.version = '3.0.4'
s.summary = 'Wallet utilities for TokenD.'
s.homepage = 'https://github.com/tokend/ios-wallet'
s.license = { type: 'Apache License, Version 2.0', file: 'LICENSE' }
Expand Down

0 comments on commit 3a51255

Please sign in to comment.