feat: on create save domain for relay
This commit is contained in:
parent
be606934bf
commit
d0c6f1392b
3 changed files with 18 additions and 2 deletions
|
|
@ -87,6 +87,8 @@ class WalletSpec(Spec):
|
|||
|
||||
|
||||
class RelayPublicSpec(FilterSpec, EventSpec, StorageSpec, PaymentSpec):
|
||||
domain: str = ''
|
||||
|
||||
@property
|
||||
def is_read_only_relay(self):
|
||||
self.free_storage_value == 0 and not self.is_paid_relay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue