mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
Reduce log spam
This commit is contained in:
parent
e9b2a76a87
commit
caf15a60aa
@ -276,7 +276,6 @@ export class AvatarComponent extends connect(store)(LitElement) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
console.log('hello', this.name, this.resource, this.status);
|
|
||||||
return html`
|
return html`
|
||||||
<div>
|
<div>
|
||||||
${this.status.status !== 'READY'
|
${this.status.status !== 'READY'
|
||||||
|
@ -20,38 +20,42 @@ export default class UpdateGroupTransaction extends TransactionBase {
|
|||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
set fee(fee) {
|
set fee(fee) {
|
||||||
this._fee = fee * QORT_DECIMALS
|
this._fee = fee * QORT_DECIMALS
|
||||||
this._feeBytes = this.constructor.utils.int64ToBytes(this._fee)
|
this._feeBytes = this.constructor.utils.int64ToBytes(this._fee)
|
||||||
}
|
}
|
||||||
|
|
||||||
set newOwner(newOwner) {
|
set newOwner(newOwner) {
|
||||||
this._newOwner = newOwner instanceof Uint8Array ? newOwner : this.constructor.Base58.decode(newOwner)
|
this._newOwner = newOwner instanceof Uint8Array ? newOwner : this.constructor.Base58.decode(newOwner)
|
||||||
}
|
}
|
||||||
set newIsOpen(newIsOpen) {
|
|
||||||
|
|
||||||
|
set newIsOpen(newIsOpen) {
|
||||||
this._rGroupType = new Uint8Array(1)
|
this._rGroupType = new Uint8Array(1)
|
||||||
this._rGroupType[0] = newIsOpen
|
this._rGroupType[0] = newIsOpen
|
||||||
}
|
}
|
||||||
|
|
||||||
set newDescription(newDescription) {
|
set newDescription(newDescription) {
|
||||||
this._rGroupDescBytes = this.constructor.utils.stringtoUTF8Array(newDescription.toLocaleLowerCase())
|
this._rGroupDescBytes = this.constructor.utils.stringtoUTF8Array(newDescription.toLocaleLowerCase())
|
||||||
this._rGroupDescLength = this.constructor.utils.int32ToBytes(this._rGroupDescBytes.length)
|
this._rGroupDescLength = this.constructor.utils.int32ToBytes(this._rGroupDescBytes.length)
|
||||||
}
|
}
|
||||||
|
|
||||||
set newApprovalThreshold(newApprovalThreshold) {
|
set newApprovalThreshold(newApprovalThreshold) {
|
||||||
this._rGroupApprovalThreshold = new Uint8Array(1)
|
this._rGroupApprovalThreshold = new Uint8Array(1)
|
||||||
this._rGroupApprovalThreshold[0] = newApprovalThreshold;
|
this._rGroupApprovalThreshold[0] = newApprovalThreshold;
|
||||||
}
|
}
|
||||||
|
|
||||||
set newMinimumBlockDelay(newMinimumBlockDelay) {
|
set newMinimumBlockDelay(newMinimumBlockDelay) {
|
||||||
this._rGroupMinimumBlockDelayBytes = this.constructor.utils.int32ToBytes(newMinimumBlockDelay)
|
this._rGroupMinimumBlockDelayBytes = this.constructor.utils.int32ToBytes(newMinimumBlockDelay)
|
||||||
}
|
}
|
||||||
set newMaximumBlockDelay(newMaximumBlockDelay) {
|
|
||||||
|
|
||||||
|
set newMaximumBlockDelay(newMaximumBlockDelay) {
|
||||||
this._rGroupMaximumBlockDelayBytes = this.constructor.utils.int32ToBytes(newMaximumBlockDelay)
|
this._rGroupMaximumBlockDelayBytes = this.constructor.utils.int32ToBytes(newMaximumBlockDelay)
|
||||||
}
|
}
|
||||||
|
|
||||||
set _groupId(_groupId){
|
set _groupId(_groupId){
|
||||||
this._groupBytes = this.constructor.utils.int32ToBytes(_groupId)
|
this._groupBytes = this.constructor.utils.int32ToBytes(_groupId)
|
||||||
}
|
}
|
||||||
|
|
||||||
get params() {
|
get params() {
|
||||||
const params = super.params
|
const params = super.params
|
||||||
params.push(
|
params.push(
|
||||||
@ -65,7 +69,6 @@ export default class UpdateGroupTransaction extends TransactionBase {
|
|||||||
this._rGroupMaximumBlockDelayBytes,
|
this._rGroupMaximumBlockDelayBytes,
|
||||||
this._feeBytes
|
this._feeBytes
|
||||||
)
|
)
|
||||||
console.log('verify params', params)
|
|
||||||
return params
|
return params
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,9 +47,11 @@ export default class CreatePollTransaction extends TransactionBase {
|
|||||||
set votedialog4(votedialog4) {
|
set votedialog4(votedialog4) {
|
||||||
this._votedialog4 = votedialog4
|
this._votedialog4 = votedialog4
|
||||||
}
|
}
|
||||||
|
|
||||||
set votedialog5(votedialog5) {
|
set votedialog5(votedialog5) {
|
||||||
this._votedialog5 = votedialog5
|
this._votedialog5 = votedialog5
|
||||||
}
|
}
|
||||||
|
|
||||||
set votedialog6(votedialog6) {
|
set votedialog6(votedialog6) {
|
||||||
this._votedialog6 = votedialog6
|
this._votedialog6 = votedialog6
|
||||||
}
|
}
|
||||||
@ -99,7 +101,6 @@ export default class CreatePollTransaction extends TransactionBase {
|
|||||||
this._rNumberOfOptionsBytes
|
this._rNumberOfOptionsBytes
|
||||||
)
|
)
|
||||||
// Push the dynamic options
|
// Push the dynamic options
|
||||||
console.log('this._options', this._options)
|
|
||||||
for (let i = 0; i < this._options.length; i++) {
|
for (let i = 0; i < this._options.length; i++) {
|
||||||
params.push(this._options[i].length, this._options[i].bytes);
|
params.push(this._options[i].length, this._options[i].bytes);
|
||||||
}
|
}
|
||||||
|
@ -950,8 +950,6 @@ class QApps extends LitElement {
|
|||||||
|
|
||||||
const status = await response.json()
|
const status = await response.json()
|
||||||
|
|
||||||
console.log("status:", status.id)
|
|
||||||
|
|
||||||
if (status.id === "UNSUPPORTED") {
|
if (status.id === "UNSUPPORTED") {
|
||||||
this.btnDisabled = false
|
this.btnDisabled = false
|
||||||
this.textProgress = ''
|
this.textProgress = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user