Skip to content

Commit

Permalink
using uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
gohumble committed May 5, 2024
1 parent 4b382ff commit 6765163
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion keys.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ message Keyset {
string unit = 2;
string mint_url = 3;
bool active = 4;
map<uint64, string> keys = 5;
map<uint32, string> keys = 5;
}
7 changes: 4 additions & 3 deletions signature.proto
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
syntax = "proto3";
package cashu.v1;
option go_package = "github.com/cashu/rpc/signature";
import "tagger/tagger.proto";

message BlindedSignature {
string id = 1;
uint64 amount = 2;
string C_ = 3;
string id = 1 [(tagger.tags) = "json:\"id\""];
uint32 amount = 2 [(tagger.tags) = "json:\"amount\""];
string C_ = 3[(tagger.tags) = "json:\"C_\""];
}

0 comments on commit 6765163

Please sign in to comment.