From 86374f8dc46385cda4c525932c314eb98aee398c Mon Sep 17 00:00:00 2001 From: philogicae Date: Fri, 23 Aug 2024 16:02:37 +0300 Subject: [PATCH] Fix: is_stream to be compatible with any new stream providers (#105) --- aleph_message/models/execution/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aleph_message/models/execution/base.py b/aleph_message/models/execution/base.py index 5a6d43f..c139dda 100644 --- a/aleph_message/models/execution/base.py +++ b/aleph_message/models/execution/base.py @@ -42,7 +42,7 @@ class Payment(HashableModel): @property def is_stream(self): - return self.type == PaymentType.superfluid + return self.type != PaymentType.hold class Interface(str, Enum):