Skip to content

Commit 2b2d116

Browse files
committed
Exposed Deadline to the public in Transaction class
1 parent e7f3689 commit 2b2d116

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/model/transaction/Transaction.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
* limitations under the License.
1515
*/
1616

17-
import {VerifiableTransaction} from 'nem2-library';
18-
import {Account} from '../account/Account';
19-
import {PublicAccount} from '../account/PublicAccount';
20-
import {NetworkType} from '../blockchain/NetworkType';
21-
import {UInt64} from '../UInt64';
22-
import {AggregateTransactionInfo} from './AggregateTransactionInfo';
23-
import {Deadline} from './Deadline';
24-
import {InnerTransaction} from './InnerTransaction';
25-
import {SignedTransaction} from './SignedTransaction';
26-
import {TransactionInfo} from './TransactionInfo';
17+
import { VerifiableTransaction } from 'nem2-library';
18+
import { Account } from '../account/Account';
19+
import { PublicAccount } from '../account/PublicAccount';
20+
import { NetworkType } from '../blockchain/NetworkType';
21+
import { UInt64 } from '../UInt64';
22+
import { AggregateTransactionInfo } from './AggregateTransactionInfo';
23+
import { Deadline } from './Deadline';
24+
import { InnerTransaction } from './InnerTransaction';
25+
import { SignedTransaction } from './SignedTransaction';
26+
import { TransactionInfo } from './TransactionInfo';
2727

2828
/**
2929
* An abstract transaction class that serves as the base class of all NEM transactions.
@@ -56,7 +56,7 @@ export abstract class Transaction {
5656
/**
5757
* The deadline to include the transaction.
5858
*/
59-
public readonly deadline: Deadline,
59+
public deadline: Deadline,
6060
/**
6161
* The fee for the transaction. The higher the fee, the higher the priority of the transaction.
6262
* Transactions with high priority get included in a block before transactions with lower priority.

0 commit comments

Comments
 (0)