File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1919 * 0: Link an alias.
2020 * 1: Unlink an alias.
2121 */
22- export enum AliasActionType {
22+ export enum AliasAction {
2323 Link = 0x01 ,
2424 Unlink = 0x00 ,
2525}
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ export class AddressAliasTransaction extends Transaction {
134134 TransactionType . ADDRESS_ALIAS . valueOf ( ) ,
135135 new AmountDto ( this . maxFee . toDTO ( ) ) ,
136136 new TimestampDto ( this . deadline . toDTO ( ) ) ,
137- this . actionType . valueOf ( ) ,
137+ this . aliasAction . valueOf ( ) ,
138138 new NamespaceIdDto ( this . namespaceId . id . toDTO ( ) ) ,
139139 new AddressDto ( RawAddress . stringToAddress ( this . address . plain ( ) ) ) ,
140140 ) ;
@@ -150,7 +150,7 @@ export class AddressAliasTransaction extends Transaction {
150150 new KeyDto ( Convert . hexToUint8 ( this . signer ! . publicKey ) ) ,
151151 this . versionToDTO ( ) ,
152152 TransactionType . ADDRESS_ALIAS . valueOf ( ) ,
153- this . actionType . valueOf ( ) ,
153+ this . aliasAction . valueOf ( ) ,
154154 new NamespaceIdDto ( this . namespaceId . id . toDTO ( ) ) ,
155155 new AddressDto ( RawAddress . stringToAddress ( this . address . plain ( ) ) ) ,
156156 ) ;
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export class ModifyMultisigAccountTransaction extends Transaction {
142142 this . minApprovalDelta ,
143143 this . modifications . map ( ( modification ) => {
144144 return new CosignatoryModificationBuilder (
145- modification . type . valueOf ( ) ,
145+ modification . modificiationType . valueOf ( ) ,
146146 new KeyDto ( Convert . hexToUint8 ( modification . cosignatoryPublicAccount . publicKey ) ) ,
147147 ) ;
148148 } ) ,
@@ -163,7 +163,7 @@ export class ModifyMultisigAccountTransaction extends Transaction {
163163 this . minApprovalDelta ,
164164 this . modifications . map ( ( modification ) => {
165165 return new CosignatoryModificationBuilder (
166- modification . type . valueOf ( ) ,
166+ modification . modificiationType . valueOf ( ) ,
167167 new KeyDto ( Convert . hexToUint8 ( modification . cosignatoryPublicAccount . publicKey ) ) ,
168168 ) ;
169169 } ) ,
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ export class MosaicAliasTransaction extends Transaction {
130130 TransactionType . MOSAIC_ALIAS . valueOf ( ) ,
131131 new AmountDto ( this . maxFee . toDTO ( ) ) ,
132132 new TimestampDto ( this . deadline . toDTO ( ) ) ,
133- this . actionType . valueOf ( ) ,
133+ this . aliasAction . valueOf ( ) ,
134134 new NamespaceIdDto ( this . namespaceId . id . toDTO ( ) ) ,
135135 new MosaicIdDto ( this . mosaicId . id . toDTO ( ) ) ,
136136 ) ;
@@ -146,7 +146,7 @@ export class MosaicAliasTransaction extends Transaction {
146146 new KeyDto ( Convert . hexToUint8 ( this . signer ! . publicKey ) ) ,
147147 this . versionToDTO ( ) ,
148148 TransactionType . MOSAIC_ALIAS . valueOf ( ) ,
149- this . actionType . valueOf ( ) ,
149+ this . aliasAction . valueOf ( ) ,
150150 new NamespaceIdDto ( this . namespaceId . id . toDTO ( ) ) ,
151151 new MosaicIdDto ( this . mosaicId . id . toDTO ( ) ) ,
152152 ) ;
You can’t perform that action at this time.
0 commit comments