Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Let CDeterministicMN::ToJson() return correct `collateralAddress…
…` for spent collaterals (#5607) ## Issue being fixed or feature implemented Historical masternode data returned via rpcs like `protx listdiff` can be broken because some collaterals might be spent already and `GetUTXOCoin` wasn't able to get any info. ## What was done? Use `GetTransaction` as a fallback. ## How Has This Been Tested? run tests ## Breaking Changes n/a ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
- Loading branch information