Script returns the currently built script. When any errors occurred while building the script, the script will be returned up the point of the first error along with the error.
()
| 293 | // building the script, the script will be returned up the point of the first |
| 294 | // error along with the error. |
| 295 | func (b *ScriptBuilder) Script() ([]byte, error) { |
| 296 | return b.script, b.err |
| 297 | } |
| 298 | |
| 299 | // NewScriptBuilder returns a new instance of a script builder. See |
| 300 | // ScriptBuilder for details. |
no outgoing calls