Skip to content

Commit ee04180

Browse files
committed
fix
1 parent 44d127a commit ee04180

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/providers/address/address.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
import {Injectable} from '@angular/core';
8+
import { Injectable } from '@angular/core';
99

1010
// Providers
1111
import { Logger } from '@providers/logger/logger';
@@ -120,7 +120,7 @@ export class AddressProvider {
120120
* @param {string} address - Tron address
121121
* @return string
122122
*/
123-
toHex(address: string) {
123+
toHex(address: string): string {
124124
return this.tronProvider.addressToHex(address);
125125
}
126126

@@ -130,7 +130,7 @@ export class AddressProvider {
130130
* @param address - Tron address
131131
* @return string
132132
*/
133-
toBase58(address: string) {
133+
toBase58(address: string): string {
134134
return this.tronProvider.addressFromHex(address);
135135
}
136136

@@ -140,7 +140,7 @@ export class AddressProvider {
140140
* @param {string} address - Tron address
141141
* @return string
142142
*/
143-
fromPrivateKey(address: string) {
143+
fromPrivateKey(address: string): string {
144144
return this.tronProvider.fromPrivateKey(address);
145145
}
146146

src/providers/wallet/wallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export interface TransactionProposal {
110110
amount: any;
111111
toAddress: string;
112112
tokenID: string;
113-
message ?: string;
113+
message?: string;
114114
}
115115

116116

0 commit comments

Comments
 (0)