String returns a hex-encoded string representation of the script.
()
| 171 | |
| 172 | // String returns a hex-encoded string representation of the script. |
| 173 | func (s PkScript) String() string { |
| 174 | str, _ := DisasmString(s.Script()) |
| 175 | return str |
| 176 | } |
| 177 | |
| 178 | // ComputePkScript computes the script of an output by looking at the spending |
| 179 | // input's signature script or witness. |
nothing calls this directly
no test coverage detected