Skip to content

Commit 11ab4d8

Browse files
committed
refactor: remove commented-out code in fromImplementation for clarity
TICKET: WIN-7770
1 parent f6ee362 commit 11ab4d8

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

modules/sdk-coin-flrp/src/lib/atomicInCTransactionBuilder.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -28,31 +28,6 @@ export abstract class AtomicInCTransactionBuilder extends AtomicTransactionBuild
2828
return this;
2929
}
3030

31-
// /** @inheritdoc */
32-
// fromImplementation(rawTransaction: string): Transaction {
33-
// const txBytes = new Uint8Array(Buffer.from(rawTransaction, 'hex'));
34-
35-
// // Use fromBytes directly from evmSerial.ImportTx
36-
// const [decodedTx] = evmSerial.ImportTx.fromBytes(txBytes);
37-
38-
// // Create address maps from the transaction's addresses
39-
// const fromAddresses = this.transaction._fromAddresses.map(addr =>
40-
// FlareUtils.AddressMap.fromString(addr.toString('hex'))
41-
// );
42-
// const addressMaps = new FlareUtils.AddressMaps(fromAddresses);
43-
44-
// // Create the unsigned transaction with required parameters
45-
// const tx = new UnsignedTx(
46-
// decodedTx, // The decoded transaction
47-
// [], // Empty UTXOs array, will be filled during processing
48-
// addressMaps, // Address maps for the transaction
49-
// [] // Empty credentials array, will be filled during signing
50-
// );
51-
52-
// this.initBuilder(tx);
53-
// return this.transaction;
54-
// }
55-
5631
/** @inheritdoc */
5732
fromImplementation(rawTransaction: string): Transaction {
5833
const txBytes = new Uint8Array(Buffer.from(rawTransaction, 'hex'));

0 commit comments

Comments
 (0)