mirror of https://github.com/bumi/lnrpc
fix: pass block through client helper methods
This commit is contained in:
parent
9e369ac6b1
commit
37f240da7f
|
@ -1,7 +1,7 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
lnrpc (0.5.2.beta)
|
||||
lnrpc (0.5.2)
|
||||
google-protobuf (>= 3.7)
|
||||
grpc (>= 1.19.0)
|
||||
|
||||
|
@ -9,10 +9,10 @@ GEM
|
|||
remote: https://rubygems.org/
|
||||
specs:
|
||||
diff-lcs (1.3)
|
||||
google-protobuf (3.7.0)
|
||||
google-protobuf (3.7.0-x86_64-linux)
|
||||
googleapis-common-protos-types (1.0.3)
|
||||
google-protobuf (~> 3.0)
|
||||
grpc (1.19.0)
|
||||
grpc (1.19.0-x86_64-linux)
|
||||
google-protobuf (~> 3.1)
|
||||
googleapis-common-protos-types (~> 1.0.0)
|
||||
rake (10.5.0)
|
||||
|
|
|
@ -62,7 +62,7 @@ module Lnrpc
|
|||
params = args[0]
|
||||
|
||||
args[0] = params.nil? ? request_class_for(m).new : request_class_for(m).new(params)
|
||||
self.grpc_client.send(m, *args)
|
||||
self.grpc_client.send(m, *args, &block)
|
||||
else
|
||||
super
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue