(fields: Iterator<string>)
| 425 | } |
| 426 | |
| 427 | decodeAlgoParams(fields: Iterator<string>): void { |
| 428 | if (this.version >= 21) { |
| 429 | this.order.algoStrategy = decodeStr(fields) |
| 430 | if (this.order.algoStrategy) { |
| 431 | const algoParamsCount = decodeInt(fields) |
| 432 | if (algoParamsCount > 0) { |
| 433 | this.order.algoParams = [] |
| 434 | for (let i = 0; i < algoParamsCount; i++) { |
| 435 | const tagValue = new TagValue() |
| 436 | tagValue.tag = decodeStr(fields) |
| 437 | tagValue.value = decodeStr(fields) |
| 438 | this.order.algoParams.push(tagValue) |
| 439 | } |
| 440 | } |
| 441 | } |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | decodeSolicited(fields: Iterator<string>): void { |
| 446 | if (this.version >= 33) { |
no test coverage detected