SHA256
Оплачивать регистрацию сервера blockchain-ключом
This commit is contained in:
@@ -181,7 +181,7 @@ export function fillKeyFields(fieldMap, keyBundle, masterSecret32) {
|
||||
export function updateSolAddress(fieldMap) {
|
||||
const box = $(fieldMap.solBox);
|
||||
const label = $(fieldMap.solAdr);
|
||||
const pubB58 = String($(fieldMap.devPub).value || '').trim();
|
||||
const pubB58 = String($(fieldMap.paymentPub || fieldMap.devPub).value || '').trim();
|
||||
if (!pubB58) {
|
||||
box.classList.remove('show');
|
||||
label.textContent = '';
|
||||
@@ -204,7 +204,7 @@ export function setText(idOrNode, value) {
|
||||
|
||||
export function wireDeviceAddressPreview(fieldMap) {
|
||||
const update = () => updateSolAddress(fieldMap);
|
||||
$(fieldMap.devPub).addEventListener('input', update);
|
||||
$(fieldMap.paymentPub || fieldMap.devPub).addEventListener('input', update);
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user