Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid KeyWitnessCount overestimation for delegation script credentials
Main idea is that we're taking the sum of 1. Key witness count needed for key credentials 2. Key witness count needed for (native) scripts Unfortunately, this commit also breaks an integration test: #3830 (comment) as `signTransaction` adds too many witnesses — or at least more than what is needed and more than what we made room for when balancing. Next commit will fix this by "making more room" by increasing the estimated `KeyWitnessCount` in a more proper way.
- Loading branch information