mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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);
|
||||
} else {
|
||||
SingleRead r(resultMask);
|
||||
s = pickTargetSite(c, &r);
|
||||
s = pickTargetSite(c, &r, true);
|
||||
v = result;
|
||||
addSite(c, result, s);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user