lib/universa/client.rb in universa-3.12.0.2 vs lib/universa/client.rb in universa-3.12.4.1
- old
+ new
@@ -31,11 +31,11 @@
#
# The client accepts small network topology changes as long as it still create consensus. Still, too big changes
# in the network topology might require fresh topology file (or upgrade the gem).
#
#
- # @param [String] topology: could be name of known network (e.g. mainnet as by default) or path to a .json file
+ # @param [String] topology could be name of known network (e.g. mainnet as by default) or path to a .json file
# containing some network topology, for example, obtained from some external source like telegram
# channel.
# @param [PrivateKey] private_key to connect with.
# @param [String] cache_dir where to store resulting topology. we recommend to leave it as nil.
#
@@ -260,10 +260,10 @@
# same as {is_approved}
def approved?
is_approved
end
- # same as {pending}
+ # same as {is_pending}
def pending?
is_pending
end
def to_s