Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix vector length calculation for targets in BlindTransaction
the size of surjectionTargets and targetAssetGenerator vectors was calculated as tx.vin.size()*3, based on the fact that for each input there might also be up to 2 issuance pseudo-inputs, but did not take into account that the number of auxiliary generators may exceed the number of inputs. This fixes the size calculations by taking into account auxiliary generators supplied beyond vin size.
- Loading branch information