Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Merge requests
!216
#330
: Restructure repository
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
#330
: Restructure repository
330_repo_structure
into
main
Overview
0
Commits
22
Pipelines
8
Changes
7
Merged
Moul
requested to merge
330_repo_structure
into
main
2 years ago
Overview
0
Commits
22
Pipelines
8
Changes
7
Expand
Close
#330 (closed)
.
Edited
2 years ago
by
Moul
0
0
Merge request reports
Viewing commit
c9563807
Show latest version
7 files
+
99
−
95
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
c9563807
Move display_{amount,pubkey} from tui to money.tools (
#330
)
· c9563807
Moul
authored
2 years ago
Closer to money commands usage Would avoid import cycle issue
silkaj/money/balance.py
+
5
−
3
Options
@@ -92,15 +92,17 @@ def show_amount_from_pubkey(label: str, inputs_balance: List[int]) -> None:
display
.
append
([
"
User identifier
"
,
member
[
"
uid
"
]])
if
totalAmountInput
-
balance
!=
0
:
tui
.
display_amount
(
display
,
"
Blockchain
"
,
balance
,
ud_value
,
currency_symbol
)
tui
.
display_amount
(
m_tools
.
display_amount
(
display
,
"
Blockchain
"
,
balance
,
ud_value
,
currency_symbol
)
m_tools
.
display_amount
(
display
,
"
Pending transaction
"
,
(
totalAmountInput
-
balance
),
ud_value
,
currency_symbol
,
)
tui
.
display_amount
(
m_tools
.
display_amount
(
display
,
"
Total amount
"
,
totalAmountInput
,
ud_value
,
currency_symbol
)
display
.
append
(
Loading