4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

Allow uppercase in poll description

This commit is contained in:
QuickMythril 2024-05-18 16:23:22 -04:00
parent 7c0948886f
commit 564981fb4c

View File

@ -74,7 +74,7 @@ export default class CreatePollTransaction extends TransactionBase {
set rPollDesc(rPollDesc) { set rPollDesc(rPollDesc) {
this._rPollDesc = rPollDesc this._rPollDesc = rPollDesc
this._rPollDescBytes = this.constructor.utils.stringtoUTF8Array(this._rPollDesc.toLocaleLowerCase()) this._rPollDescBytes = this.constructor.utils.stringtoUTF8Array(this._rPollDesc)
this._rPollDescLength = this.constructor.utils.int32ToBytes(this._rPollDescBytes.length) this._rPollDescLength = this.constructor.utils.int32ToBytes(this._rPollDescBytes.length)
} }