Change AnyWitness to ScriptWitness
In the refactoring of `TxBodyContent` types like `TxMintValue` wrap `AnyWitness`. This is semantically wrong as only script witnesses can mint multiassets. After the initial refactoring is merged we must correct the type definitions to only accept script witnesses.
Note this currently does not cause problems because key witnesses are filtered out eventually.
0 条评论