Merge pull request #1347 from joelklabo/fix-satoshi-formatting-nip5-index
Fix satoshi formatting nip5 index
This commit is contained in:
commit
8f91a4a097
1 changed files with 3 additions and 1 deletions
|
|
@ -280,7 +280,9 @@
|
|||
'YYYY-MM-DD HH:mm'
|
||||
)
|
||||
|
||||
obj.amount = parseFloat(obj.amount / 100).toFixed(2)
|
||||
if (obj.currency != 'Satoshis') {
|
||||
obj.amount = parseFloat(obj.amount / 100).toFixed(2)
|
||||
}
|
||||
|
||||
return obj
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue