Browse Source

Update Unitfee

pull/1/head
AlphaX-Projects 3 years ago committed by GitHub
parent
commit
2d9e1df7aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      qortal-ui-plugins/plugins/core/name-registration/name-registration.src.js

5
qortal-ui-plugins/plugins/core/name-registration/name-registration.src.js

@ -119,6 +119,9 @@ class NameRegistration extends LitElement {
</span>
<span ?hidden=${this.message === ''} style="${this.error ? 'color:red;' : ''}">
${this.message}
</span><br>
<span>
<b>The current name registration fee is ${this.fee} QORT.</b>
</span>
</div>
@ -222,7 +225,7 @@ class NameRegistration extends LitElement {
return Promise.reject(response);
})
.then((json) => {
this.fee = (Number(json) / 1e8).toFixed(8);
this.fee = (Number(json) / 1e8).toFixed(2);
})
.catch((response) => {
console.log(response.status, response.statusText, 'Need Core Update');

Loading…
Cancel
Save