mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-20 21:48:58 -04:00
Implemented outbound stamp cost handling and stamp cost display in object details
This commit is contained in:
parent
ff58028ca7
commit
5d586d26fc
3 changed files with 36 additions and 1 deletions
|
@ -158,6 +158,13 @@ class Messages():
|
|||
if prg != None:
|
||||
prgstr = ", "+str(round(prg*100, 1))+"% done"
|
||||
if prg <= 0.00:
|
||||
stamp_cost = self.app.sideband.get_lxm_stamp_cost(msg["hash"])
|
||||
if stamp_cost:
|
||||
sphrase = f"Generating stamp (cost {stamp_cost})"
|
||||
prgstr = ""
|
||||
else:
|
||||
sphrase = "Waiting for path"
|
||||
elif prg <= 0.01:
|
||||
sphrase = "Waiting for path"
|
||||
elif prg <= 0.03:
|
||||
sphrase = "Establishing link"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue