mirror of
https://github.com/corda/corda.git
synced 2025-01-23 04:48:09 +00:00
only accept sites conforming to specified SiteMask in getTarget
This commit is contained in:
parent
9b9ae62541
commit
fd7bef7db3
@ -2812,7 +2812,7 @@ getTarget(Context* c, Value* value, Value* result, const SiteMask& resultMask)
|
|||||||
maybePreserve(c, value, s);
|
maybePreserve(c, value, s);
|
||||||
} else {
|
} else {
|
||||||
SingleRead r(resultMask);
|
SingleRead r(resultMask);
|
||||||
s = pickTargetSite(c, &r);
|
s = pickTargetSite(c, &r, true);
|
||||||
v = result;
|
v = result;
|
||||||
addSite(c, result, s);
|
addSite(c, result, s);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user