Skip to content

Commit 88bce96

Browse files
committed
resolved rebase conflict
1 parent 13f04a1 commit 88bce96

File tree

1 file changed

+0
-77
lines changed

1 file changed

+0
-77
lines changed

src/model/transaction/AggregateTransaction.ts

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -173,83 +173,6 @@ export class AggregateTransaction extends Transaction {
173173
this.type, this.networkType);
174174
}
175175

176-
/**
177-
* @internal
178-
* Sign transaction with cosignatories collected from cosigned transactions and creating a new SignedTransaction
179-
* For off chain Aggregated Complete Transaction co-signing.
180-
* @param initiatorAccount - Initiator account
181-
* @param {CosignatureSignedTransaction[]} cosignatureSignedTransactions - Array of cosigned transaction
182-
* @return {SignedTransaction}
183-
*/
184-
public signTransactionGivenSignatures(initiatorAccount: Account,
185-
cosignatureSignedTransactions: CosignatureSignedTransaction[]) {
186-
const aggregateTransaction = this.buildTransaction();
187-
const signedTransactionRaw = aggregateTransaction.signTransactionGivenSignatures(initiatorAccount,
188-
cosignatureSignedTransactions,
189-
generationHash);
190-
return new SignedTransaction(signedTransactionRaw.payload, signedTransactionRaw.hash, initiatorAccount.publicKey,
191-
this.type, this.networkType);
192-
}
193-
194-
/**
195-
* @internal
196-
* Sign transaction with cosignatories collected from cosigned transactions and creating a new SignedTransaction
197-
* For off chain Aggregated Complete Transaction co-signing.
198-
* @param initiatorAccount - Initiator account
199-
* @param {CosignatureSignedTransaction[]} cosignatureSignedTransactions - Array of cosigned transaction
200-
* @return {SignedTransaction}
201-
*/
202-
public signTransactionGivenSignatures(initiatorAccount: Account,
203-
cosignatureSignedTransactions: CosignatureSignedTransaction[],
204-
generationHash: string) {
205-
const aggregateTransaction = this.buildTransaction();
206-
const signedTransactionRaw = aggregateTransaction.signTransactionGivenSignatures(initiatorAccount,
207-
cosignatureSignedTransactions,
208-
generationHash);
209-
return new SignedTransaction(signedTransactionRaw.payload, signedTransactionRaw.hash, initiatorAccount.publicKey,
210-
this.type, this.networkType);
211-
}
212-
213-
/**
214-
* @internal
215-
* Sign transaction with cosignatories collected from cosigned transactions and creating a new SignedTransaction
216-
* For off chain Aggregated Complete Transaction co-signing.
217-
* @param initiatorAccount - Initiator account
218-
* @param {CosignatureSignedTransaction[]} cosignatureSignedTransactions - Array of cosigned transaction
219-
* @param generationHash - Network generation hash hex
220-
* @return {SignedTransaction}
221-
*/
222-
public signTransactionGivenSignatures(initiatorAccount: Account,
223-
cosignatureSignedTransactions: CosignatureSignedTransaction[],
224-
generationHash: string) {
225-
const aggregateTransaction = this.buildTransaction();
226-
const signedTransactionRaw = aggregateTransaction.signTransactionGivenSignatures(initiatorAccount,
227-
cosignatureSignedTransactions,
228-
generationHash);
229-
return new SignedTransaction(signedTransactionRaw.payload, signedTransactionRaw.hash, initiatorAccount.publicKey,
230-
this.type, this.networkType);
231-
}
232-
233-
/**
234-
* @internal
235-
* Sign transaction with cosignatories collected from cosigned transactions and creating a new SignedTransaction
236-
* For off chain Aggregated Complete Transaction co-signing.
237-
* @param initiatorAccount - Initiator account
238-
* @param {CosignatureSignedTransaction[]} cosignatureSignedTransactions - Array of cosigned transaction
239-
* @param generationHash - Network generation hash hex
240-
* @return {SignedTransaction}
241-
*/
242-
public signTransactionGivenSignatures(initiatorAccount: Account,
243-
cosignatureSignedTransactions: CosignatureSignedTransaction[],
244-
generationHash: string) {
245-
const aggregateTransaction = this.buildTransaction();
246-
const signedTransactionRaw = aggregateTransaction.signTransactionGivenSignatures(initiatorAccount,
247-
cosignatureSignedTransactions,
248-
generationHash);
249-
return new SignedTransaction(signedTransactionRaw.payload, signedTransactionRaw.hash, initiatorAccount.publicKey,
250-
this.type, this.networkType);
251-
}
252-
253176
/**
254177
* Check if account has signed transaction
255178
* @param publicAccount - Signer public account

0 commit comments

Comments
 (0)