Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
aedf0226
Commit
aedf0226
authored
Sep 27, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove coinType parameter for wallet info
parent
d13953ad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
wallet-info.ts
Breeze.UI/src/app/shared/classes/wallet-info.ts
+1
-3
receive.component.ts
Breeze.UI/src/app/wallet/receive/receive.component.ts
+1
-1
status-bar.component.ts
Breeze.UI/src/app/wallet/status-bar/status-bar.component.ts
+2
-2
No files found.
Breeze.UI/src/app/shared/classes/wallet-info.ts
View file @
aedf0226
export
class
WalletInfo
{
constructor
(
walletName
:
string
,
coinType
:
number
)
{
constructor
(
walletName
:
string
)
{
this
.
walletName
=
walletName
;
this
.
coinType
=
coinType
;
}
public
walletName
:
string
;
public
coinType
:
number
;
}
Breeze.UI/src/app/wallet/receive/receive.component.ts
View file @
aedf0226
...
...
@@ -29,7 +29,7 @@ export class ReceiveComponent {
}
private
getUnusedReceiveAddresses
()
{
let
walletInfo
=
new
WalletInfo
(
this
.
globalService
.
getWalletName
()
,
this
.
globalService
.
getCoinType
()
)
let
walletInfo
=
new
WalletInfo
(
this
.
globalService
.
getWalletName
())
this
.
apiService
.
getUnusedReceiveAddress
(
walletInfo
)
.
subscribe
(
response
=>
{
...
...
Breeze.UI/src/app/wallet/status-bar/status-bar.component.ts
View file @
aedf0226
...
...
@@ -32,8 +32,8 @@ export class StatusBarComponent implements OnInit {
this
.
cancelSubscriptions
();
}
getGeneralWalletInfo
()
{
let
walletInfo
=
new
WalletInfo
(
this
.
globalService
.
getWalletName
()
,
this
.
globalService
.
getCoinType
()
)
private
getGeneralWalletInfo
()
{
let
walletInfo
=
new
WalletInfo
(
this
.
globalService
.
getWalletName
())
this
.
generalWalletInfoSubscription
=
this
.
apiService
.
getGeneralInfo
(
walletInfo
)
.
subscribe
(
response
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment