@@ -24,7 +24,7 @@ import { NetworkType } from '../../src/model/blockchain/NetworkType';
2424import { PlainMessage } from '../../src/model/message/PlainMessage' ;
2525import { Address , CosignatureTransaction , LockFundsTransaction , Mosaic , SignedTransaction , UInt64 } from '../../src/model/model' ;
2626import { MosaicId } from '../../src/model/mosaic/MosaicId' ;
27- import { NetworkCurrencyMosaic } from '../../src/model/mosaic/NetworkCurrencyMosaic ' ;
27+ import { NetworkCurrencyLocal } from '../../src/model/mosaic/NetworkCurrencyLocal ' ;
2828import { NamespaceId } from '../../src/model/namespace/NamespaceId' ;
2929import { AggregateTransaction } from '../../src/model/transaction/AggregateTransaction' ;
3030import { Deadline } from '../../src/model/transaction/Deadline' ;
@@ -45,7 +45,7 @@ describe('Listener', () => {
4545 let namespaceRepository : NamespaceRepository ;
4646 let generationHash : string ;
4747 let networkType : NetworkType ;
48- const networkCurrencyMosaicId : NamespaceId = NetworkCurrencyMosaic . NAMESPACE_ID ;
48+ const NetworkCurrencyLocalId : NamespaceId = NetworkCurrencyLocal . NAMESPACE_ID ;
4949 let transactionRepository : TransactionRepository ;
5050
5151 before ( ( ) => {
@@ -100,7 +100,7 @@ describe('Listener', () => {
100100 mosaicId : MosaicId | NamespaceId ) => {
101101 const lockFundsTransaction = LockFundsTransaction . create (
102102 Deadline . create ( ) ,
103- new Mosaic ( mosaicId , UInt64 . fromUint ( 10 * Math . pow ( 10 , NetworkCurrencyMosaic . DIVISIBILITY ) ) ) ,
103+ new Mosaic ( mosaicId , UInt64 . fromUint ( 10 * Math . pow ( 10 , NetworkCurrencyLocal . DIVISIBILITY ) ) ) ,
104104 UInt64 . fromUint ( 1000 ) ,
105105 signedAggregatedTransaction ,
106106 networkType , helper . maxFee ,
@@ -180,7 +180,7 @@ describe('Listener', () => {
180180 const transferTransaction = TransferTransaction . create (
181181 Deadline . create ( ) ,
182182 cosignAccount1 . address ,
183- [ new Mosaic ( networkCurrencyMosaicId , UInt64 . fromUint ( 10 * Math . pow ( 10 , NetworkCurrencyMosaic . DIVISIBILITY ) ) ) ] ,
183+ [ new Mosaic ( NetworkCurrencyLocalId , UInt64 . fromUint ( 10 * Math . pow ( 10 , NetworkCurrencyLocal . DIVISIBILITY ) ) ) ] ,
184184 PlainMessage . create ( 'test-message' ) ,
185185 networkType , helper . maxFee ,
186186 ) ;
@@ -220,7 +220,7 @@ describe('Listener', () => {
220220
221221 it ( 'aggregateBondedTransactionsAdded' , ( done ) => {
222222 const signedAggregatedTx = createSignedAggregatedBondTransaction ( multisigAccount , account , account2 . address ) ;
223- createHashLockTransactionAndAnnounce ( signedAggregatedTx , account , networkCurrencyMosaicId ) ;
223+ createHashLockTransactionAndAnnounce ( signedAggregatedTx , account , NetworkCurrencyLocalId ) ;
224224 helper . listener . aggregateBondedAdded ( account . address ) . subscribe ( ( ) => {
225225 done ( ) ;
226226 } ) ;
@@ -239,7 +239,7 @@ describe('Listener', () => {
239239 const signedAggregatedTx =
240240 createSignedAggregatedBondTransaction ( multisigAccount , cosignAccount1 , account2 . address ) ;
241241
242- createHashLockTransactionAndAnnounce ( signedAggregatedTx , cosignAccount1 , networkCurrencyMosaicId ) ;
242+ createHashLockTransactionAndAnnounce ( signedAggregatedTx , cosignAccount1 , NetworkCurrencyLocalId ) ;
243243 helper . listener . confirmed ( cosignAccount1 . address ) . subscribe ( ( ) => {
244244 helper . listener . aggregateBondedRemoved ( cosignAccount1 . address ) . subscribe ( ( ) => {
245245 done ( ) ;
@@ -274,7 +274,7 @@ describe('Listener', () => {
274274 const signedAggregatedTx =
275275 createSignedAggregatedBondTransaction ( multisigAccount , cosignAccount1 , account2 . address ) ;
276276
277- createHashLockTransactionAndAnnounce ( signedAggregatedTx , cosignAccount1 , networkCurrencyMosaicId ) ;
277+ createHashLockTransactionAndAnnounce ( signedAggregatedTx , cosignAccount1 , NetworkCurrencyLocalId ) ;
278278 helper . listener . cosignatureAdded ( cosignAccount1 . address ) . subscribe ( ( ) => {
279279 done ( ) ;
280280 } ) ;
@@ -341,7 +341,7 @@ describe('Listener', () => {
341341 describe ( 'Transactions Status' , ( ) => {
342342
343343 it ( 'transactionStatusGiven' , ( ) => {
344- const mosaics = [ NetworkCurrencyMosaic . createRelative ( 1000000000000 ) ] ;
344+ const mosaics = [ NetworkCurrencyLocal . createRelative ( 1000000000000 ) ] ;
345345 const transferTransaction = TransferTransaction . create (
346346 Deadline . create ( ) ,
347347 account2 . address ,
0 commit comments