lib/bitcoin/grpc/server.rb in bitcoinrb-grpc-0.1.5 vs lib/bitcoin/grpc/server.rb in bitcoinrb-grpc-0.1.6
- old
+ new
@@ -69,10 +69,10 @@
logger.info("watch_utxo_spent: #{e.backtrace}")
end
def watch_token(request, call)
logger.info("watch_token: #{request}")
- utxo_handler << request
+ asset_handler << request
response = []
Receiver.spawn(:receiver, request, response, publisher, [Bitcoin::Grpc::EventTokenIssued, Bitcoin::Grpc::EventTokenTransfered])
logger.info("watch_token: end")
ResponseEnum.new(request, response, WatchTokenResponseBuilder).each
rescue => e