dropped minimum level 1 constraint for reward share to self

This commit is contained in:
kennycud 2025-01-12 14:13:44 -08:00
parent 38d4c38393
commit 79e9080f6e

View File

@ -346,7 +346,7 @@ class RewardShare extends LitElement {
getTxnRequestResponse(myTransaction) getTxnRequestResponse(myTransaction)
} }
} else if (accountDetails.address === recipientAddress) { } else if (accountDetails.address === recipientAddress) {
if (accountDetails.level >= 1 && accountDetails.level <= 4) { if (accountDetails.level <= 4) {
this.error = false this.error = false
this.message = '' this.message = ''
let myTransaction = await makeTransactionRequest(lastRef) let myTransaction = await makeTransactionRequest(lastRef)
@ -504,7 +504,7 @@ class RewardShare extends LitElement {
getTxnRequestResponse(myTransaction) getTxnRequestResponse(myTransaction)
} }
} else if (accountDetails.address === recipientAddress) { } else if (accountDetails.address === recipientAddress) {
if (accountDetails.level >= 1 && accountDetails.level <= 4) { if (accountDetails.level <= 4) {
this.error = false this.error = false
this.message = '' this.message = ''
let myTransaction = await makeTransactionRequest(lastRef) let myTransaction = await makeTransactionRequest(lastRef)
@ -680,4 +680,4 @@ class RewardShare extends LitElement {
} }
} }
window.customElements.define('reward-share', RewardShare) window.customElements.define('reward-share', RewardShare)