fix: Update transaction input selectors to use form references

This commit is contained in:
void-57 2026-01-08 17:37:56 +05:30
parent a9e6de83e9
commit 63257d7045

View File

@ -3056,8 +3056,8 @@
getRef("send_tx_button").textContent = `Send ${asset.toUpperCase()}`; getRef("send_tx_button").textContent = `Send ${asset.toUpperCase()}`;
} }
async function sendTx() { async function sendTx() {
const receiver = getRef("receiver_input").value.trim(); const receiver = getRef("send_tx_form").querySelector(".receiver-address").value.trim();
const amount = getRef("amount_input").value.trim(); const amount = getRef("send_tx_form").querySelector(".receiver-amount").value.trim();
const asset = getRef("asset_selector").value; const asset = getRef("asset_selector").value;
try { try {