Skip to content

Commit

Permalink
updated enums
Browse files Browse the repository at this point in the history
  • Loading branch information
gohumble committed May 4, 2024
1 parent 103973c commit 25407d3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ syntax = "proto3";
package cashu.v1;
option go_package = "github.com/cashu/rpc/info";
enum MethodType {
BOLT11 = 0;
SAT = 1;
method_unspecified = 0;
bolt11 = 1;
sat = 2;
// add more if needed
}

enum ContactType {
EMAIL = 0;
TWITTER = 1;
NOSTR = 2;
contact_unspecified = 0;
email = 1;
twitter = 2;
nostr = 3;
}

message NutDetails {
Expand Down

0 comments on commit 25407d3

Please sign in to comment.