Skip to content

Commit e8fa845

Browse files
committed
pricesrpc: run new proto generation script for pricesrpc
1 parent 1fbafb0 commit e8fa845

File tree

8 files changed

+598
-169
lines changed

8 files changed

+598
-169
lines changed

pricer/grpcPricer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func (c GRPCPricer) GetPrice(ctx context.Context, path string) (int64, error) {
7676
return 0, err
7777
}
7878

79-
return resp.Price, nil
79+
return resp.PriceSats, nil
8080
}
8181

8282
// Close closes the gRPC connection. It is part of the Pricer interface.

pricesrpc/prices.pb.json.go

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)