Categories
Bitcoin Cryptocurrency Mastering Development

Retrieve address when create a channel lightning network

I have two nodes in regtest. the first one is: $ l1-cli getinfo { "id": "02c3f99e70c8da59e428dd119d36c0a1317e5cd85218a760355b5f9b4f822f6109", "alias": "ALICE", "color": "ddff06", "num_peers": 0, "num_pending_channels": 0, "num_active_channels": 0, "num_inactive_channels": 0, "address": [], "binding": [ { "type": "ipv4", "address": "127.0.0.1", "port": 6060 } ], "version": "v0.8.2-269-g6014644", "blockheight": 1, "network": "regtest", "msatoshi_fees_collected": 0, "fees_collected_msat": "0msat", "lightning-dir": "/tmp/l1-regtest/regtest" } $ […]

Categories
Development

TypeError: descriptor ‘__subclasses__’ of ‘type’ object needs an argument

I’ve been trying to develop a Python microservice as a beginner. Below are the content of my project: – requirements.txt Flask connexion Flask-Injector fastavro app.py import connexion from injector import Binder from flask_injector import FlaskInjector from connexion.resolver import RestyResolver from services.provider import ItemsProvider def configure(binder: Binder) -> Binder: binder.bind( ItemsProvider, ItemsProvider([{“Name”: “Test 1”}]) ) return […]