[bitcoin/bitcoin] Return the script type from Solver (#13429)

@promag I don’t think that helps much, since, the only other bit of output is `vSolutions`, which can only be interpreted in light of the type, so in practice callers switch on the type.

Добавить комментарий