oops, invert senderLoopback assertion
This commit is contained in:
parent
119a682d4d
commit
cdb719eed0
1 changed files with 1 additions and 1 deletions
|
@ -828,7 +828,7 @@ final class RpcState<VatId> {
|
||||||
// a PromiseClient. The code which sends `Resolve` and `Return` should have replaced
|
// a PromiseClient. The code which sends `Resolve` and `Return` should have replaced
|
||||||
// any promise with a direct node in order to solve the Tribble 4-way race condition.
|
// any promise with a direct node in order to solve the Tribble 4-way race condition.
|
||||||
// See the documentation of Disembargo in rpc.capnp for more.
|
// See the documentation of Disembargo in rpc.capnp for more.
|
||||||
if (redirect == null) {
|
if (redirect != null) {
|
||||||
assert false : "'Disembargo' of type 'senderLoopback' sent to an object that does not appear to have been the subject of a previous 'Resolve' message.";
|
assert false : "'Disembargo' of type 'senderLoopback' sent to an object that does not appear to have been the subject of a previous 'Resolve' message.";
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue