Merge pull request #303 from QuickMythril/update-actions-fix

Allow uppercase in poll description
This commit is contained in:
AlphaX-Projects
2024-05-19 20:53:40 +02:00
committed by GitHub

View File

@@ -74,7 +74,7 @@ export default class CreatePollTransaction extends TransactionBase {
set 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)
}