diff --git a/AlphaWallet/Foundation/Subscribable.swift b/AlphaWallet/Foundation/Subscribable.swift index 51f8a781e..533379cba 100644 --- a/AlphaWallet/Foundation/Subscribable.swift +++ b/AlphaWallet/Foundation/Subscribable.swift @@ -34,7 +34,7 @@ open class Subscribable { _value = value } - open func subscribe(_ subscribe: @escaping (T?) -> Void) -> SubscribableKey { + @discardableResult open func subscribe(_ subscribe: @escaping (T?) -> Void) -> SubscribableKey { if let value = _value { subscribe(value) }