File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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
1111import { 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments