mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
xmr_amount_to_str corrected
This commit is contained in:
parent
b4eb465d52
commit
667353ec11
2 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@
|
|||
{{#testnet}}
|
||||
<div class="center">
|
||||
<form action="/search" method="get" style="width:100%; margin-top:15px" class="style-1">
|
||||
<input type="text" name="value" size="100"
|
||||
<input type="text" name="value" size="90"
|
||||
placeholder="blk height, blk hash, tx hash, tx payment id">
|
||||
<input type="submit" value="Search">
|
||||
</form>
|
||||
|
|
|
@ -251,9 +251,9 @@ parse(const std::string& str, string format="%Y-%m-%d %H:%M:%S");
|
|||
|
||||
static
|
||||
string
|
||||
xmr_amount_to_str(const uint64_t& xmr_amount, string format="{:0.12f}")
|
||||
xmr_amount_to_str(const uint64_t& xmr_amount, string _format="{:0.12f}")
|
||||
{
|
||||
return fmt::format("{:0.12f}", XMR_AMOUNT(xmr_amount));
|
||||
return fmt::format(_format, XMR_AMOUNT(xmr_amount));
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in a new issue