Skip to content

Commit

Permalink
Update DashSync/shared/Models/Wallet/DSSpecialTransactionsWalletHolder.m
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
pankcuf and coderabbitai[bot] authored Nov 8, 2024
1 parent d82ad57 commit 928aeef
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions DashSync/shared/Models/Wallet/DSSpecialTransactionsWalletHolder.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,22 @@ @interface DSSpecialTransactionsWalletHolder ()
@property (nonatomic, strong) NSMutableDictionary *providerUpdateRegistrarTransactions;
@property (nonatomic, strong) NSMutableDictionary *providerUpdateRevocationTransactions;
@property (nonatomic, strong) NSMutableDictionary *creditFundingTransactions;
@property (nonatomic, strong) NSMutableDictionary *assetLockTransactions;
@property (nonatomic, strong) NSMutableDictionary *assetUnlockTransactions;
- (instancetype)initWithWallet:(DSWallet *)wallet inContext:(NSManagedObjectContext *)managedObjectContext {
if (!(self = [super init])) return nil;

self.providerRegistrationTransactions = [NSMutableDictionary dictionary];
self.providerUpdateServiceTransactions = [NSMutableDictionary dictionary];
self.providerUpdateRegistrarTransactions = [NSMutableDictionary dictionary];
self.providerUpdateRevocationTransactions = [NSMutableDictionary dictionary];
self.creditFundingTransactions = [NSMutableDictionary dictionary];
self.assetLockTransactions = [NSMutableDictionary dictionary];
self.assetUnlockTransactions = [NSMutableDictionary dictionary];
self.managedObjectContext = [NSManagedObjectContext chainContext];
self.wallet = wallet;
self.transactionsToSave = [NSMutableArray array];
self.transactionsToSaveInBlockSave = [NSMutableDictionary dictionary];
return self;
}
@property (nonatomic, strong) NSMutableArray<DSTransaction *> *transactionsToSave;
@property (nonatomic, strong) NSMutableDictionary<NSNumber *, NSArray<DSTransaction *> *> *transactionsToSaveInBlockSave;

Expand Down

0 comments on commit 928aeef

Please sign in to comment.