We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6f64d0 commit 1e12a39Copy full SHA for 1e12a39
1 file changed
BitStore/Controller/Settings/SwipeViewController.m
@@ -60,7 +60,12 @@ - (void)stopScan {
60
[_scanViewController removeFromParentViewController];
61
}
62
63
+#pragma mark - ScanDelegate
64
- (void)scannedAddress:(NSString *)address amount:(NSString *)amount {
65
+ if ([address hasPrefix:@"BitStore:"]) {
66
+ address = [address substringFromIndex:9];
67
+ }
68
+
69
BTCPrivateKeyAddress* addr = [BTCPrivateKeyAddress addressWithBase58String:address];
70
[self stopScan];
71
@@ -152,6 +157,7 @@ - (void)doTransaction:(BTCKey *)key {
152
157
153
158
154
159
160
+// TODO refactor this, sending should be done somewhere central
155
161
- (BTCTransaction *)transactionSpendingFromPrivateKey:(NSData *)privateKey
156
162
to:(BTCPublicKeyAddress *)destinationAddress
163
error:(NSError**)errorOut {
0 commit comments