mirror of
https://github.com/corda/corda.git
synced 2025-01-23 12:58:35 +00:00
remove unecessary code from resolveSourceSites and resolveTargetSites
This commit is contained in:
parent
4cf9e16897
commit
b6ac05ba9d
@ -5294,10 +5294,6 @@ resolveSourceSites(Context* c, Event* e, SiteRecordList* frozen, Site** sites)
|
|||||||
|
|
||||||
Site* s = pickSourceSite
|
Site* s = pickSourceSite
|
||||||
(c, r, 0, 0, &mask, true, false, true, acceptForResolve);
|
(c, r, 0, 0, &mask, true, false, true, acceptForResolve);
|
||||||
if (s == 0) {
|
|
||||||
s = pickSourceSite
|
|
||||||
(c, r, 0, 0, &mask, false, false, true, acceptForResolve);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (s) {
|
if (s) {
|
||||||
if (DebugControl) {
|
if (DebugControl) {
|
||||||
@ -5332,13 +5328,10 @@ resolveTargetSites(Context* c, Event* e, SiteRecordList* frozen, Site** sites)
|
|||||||
|
|
||||||
Site* s = pickSourceSite
|
Site* s = pickSourceSite
|
||||||
(c, r, 0, 0, &mask, true, true, true, acceptForResolve);
|
(c, r, 0, 0, &mask, true, true, true, acceptForResolve);
|
||||||
if (s == 0) {
|
|
||||||
s = pickSourceSite
|
|
||||||
(c, r, 0, 0, &mask, false, true, true, acceptForResolve);
|
|
||||||
if (s == 0) {
|
if (s == 0) {
|
||||||
s = maybeMove(c, v, mask, false, true, ResolveRegisterReserveCount);
|
s = maybeMove(c, v, mask, false, true, ResolveRegisterReserveCount);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
freeze(c, frozen, s, v);
|
freeze(c, frozen, s, v);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user