This commit is contained in:
callebtc
2022-08-24 22:20:14 +02:00
parent 4867d649c9
commit ef375c01bd
6 changed files with 80 additions and 64 deletions

View File

@@ -7,8 +7,8 @@ type ApiClient interface {
}
type ApiNodeInfo struct {
OneMl OneML_NodeInfoResponse
Amboss Amboss_NodeInfoResponse
OneMl OneML_NodeInfoResponse `json:"1ml"`
Amboss Amboss_NodeInfoResponse `json:"amboss"`
}
func GetApiNodeinfo(pubkey string) (ApiNodeInfo, error) {