Skip to content

Commit

Permalink
Use RMStoreErrorDomain
Browse files Browse the repository at this point in the history
  • Loading branch information
hpique committed Oct 31, 2013
1 parent 41bfa79 commit 3ea639a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions RMStore/Optional/RMStoreAppReceiptVerificator.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#import "RMStoreAppReceiptVerificator.h"
#import "RMAppReceipt.h"

static NSString *RMErroDomainStoreAppReceiptVerificator = @"RMStoreAppReceiptVerificator";

@implementation RMStoreAppReceiptVerificator

- (void)verifyTransaction:(SKPaymentTransaction*)transaction
Expand Down Expand Up @@ -111,7 +109,7 @@ - (BOOL)verifyTransaction:(SKPaymentTransaction*)transaction

- (void)failWithBlock:(void (^)(NSError *error))failureBlock message:(NSString*)message
{
NSError *error = [NSError errorWithDomain:RMErroDomainStoreAppReceiptVerificator code:0 userInfo:@{NSLocalizedDescriptionKey : message}];
NSError *error = [NSError errorWithDomain:RMStoreErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : message}];
[self failWithBlock:failureBlock error:error];
}

Expand Down

0 comments on commit 3ea639a

Please sign in to comment.