1
0
mirror of https://github.com/bumi/lnrpc synced 2025-07-07 04:25:52 +00:00

fix: pass block through client helper methods

This commit is contained in:
bumi 2019-03-10 16:23:30 +01:00
parent 9e369ac6b1
commit 37f240da7f
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
lnrpc (0.5.2.beta) lnrpc (0.5.2)
google-protobuf (>= 3.7) google-protobuf (>= 3.7)
grpc (>= 1.19.0) grpc (>= 1.19.0)
@ -9,10 +9,10 @@ GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
diff-lcs (1.3) diff-lcs (1.3)
google-protobuf (3.7.0) google-protobuf (3.7.0-x86_64-linux)
googleapis-common-protos-types (1.0.3) googleapis-common-protos-types (1.0.3)
google-protobuf (~> 3.0) google-protobuf (~> 3.0)
grpc (1.19.0) grpc (1.19.0-x86_64-linux)
google-protobuf (~> 3.1) google-protobuf (~> 3.1)
googleapis-common-protos-types (~> 1.0.0) googleapis-common-protos-types (~> 1.0.0)
rake (10.5.0) rake (10.5.0)

View File

@ -62,7 +62,7 @@ module Lnrpc
params = args[0] params = args[0]
args[0] = params.nil? ? request_class_for(m).new : request_class_for(m).new(params) 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 else
super super
end end