mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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
|
||||
(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 (DebugControl) {
|
||||
@ -5332,12 +5328,9 @@ resolveTargetSites(Context* c, Event* e, SiteRecordList* frozen, Site** sites)
|
||||
|
||||
Site* s = pickSourceSite
|
||||
(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) {
|
||||
s = maybeMove(c, v, mask, false, true, ResolveRegisterReserveCount);
|
||||
}
|
||||
s = maybeMove(c, v, mask, false, true, ResolveRegisterReserveCount);
|
||||
}
|
||||
|
||||
freeze(c, frozen, s, v);
|
||||
|
Loading…
Reference in New Issue
Block a user