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 6765163 commit aa0090f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ enum ContactType {
message MethodTypes {
MethodType method = 1;
UnitType unit = 2;
uint64 min_amount = 3;
uint64 max_amount = 4;
uint32 min_amount = 3;
uint32 max_amount = 4;
}
message NutDetails {
repeated MethodTypes methods = 1;
Expand Down
4 changes: 2 additions & 2 deletions melt.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ message PostMeltQuoteStateResponse {

message PostMeltQuoteBolt11Response {
string quote = 1;
uint64 amount = 2;
uint64 fee_reserve = 3;
uint32 amount = 2;
uint32 fee_reserve = 3;
bool paid = 4;
int64 expiry = 5;
}
Expand Down
2 changes: 1 addition & 1 deletion message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cashu.v1;
option go_package = "github.com/cashu/rpc/message";

message BlindedMessage {
uint64 amount = 1;
uint32 amount = 1;
string id = 2;
string B_ = 3;
}
2 changes: 1 addition & 1 deletion mint.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ enum UnitType {


message PostMintQuoteBolt11Request {
uint64 amount = 1;
uint32 amount = 1;
string unit = 2;
}

Expand Down
2 changes: 1 addition & 1 deletion proofs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ syntax = "proto3";
package cashu.v1;
option go_package = "github.com/cashu/rpc/proofs";
message Proof {
uint64 amount = 1;
uint32 amount = 1;
string id = 2;
string secret = 3;
string C = 4;
Expand Down

0 comments on commit aa0090f

Please sign in to comment.