* Convert the script to a bitcoind test string. * @returns {String} Human-readable script code.
()
| 336 | */ |
| 337 | |
| 338 | toString() { |
| 339 | const out = []; |
| 340 | |
| 341 | for (const op of this.code) |
| 342 | out.push(op.toFormat()); |
| 343 | |
| 344 | return out.join(' '); |
| 345 | } |
| 346 | |
| 347 | /** |
| 348 | * Format the script as bitcoind asm. |
no test coverage detected