Merge pull request #4 from void-57/main

fix: Update transaction input selectors to use form references
This commit is contained in:
Aniruddha 2026-01-08 22:23:51 +05:30 committed by GitHub
commit 05eef4c4a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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