diff --git a/info.proto b/info.proto index dd00b26..bc5178a 100644 --- a/info.proto +++ b/info.proto @@ -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; diff --git a/melt.proto b/melt.proto index a33bff7..9481178 100644 --- a/melt.proto +++ b/melt.proto @@ -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; } diff --git a/message.proto b/message.proto index f992d1d..21062c2 100644 --- a/message.proto +++ b/message.proto @@ -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; } \ No newline at end of file diff --git a/mint.proto b/mint.proto index 1632e8f..aedf403 100644 --- a/mint.proto +++ b/mint.proto @@ -14,7 +14,7 @@ enum UnitType { message PostMintQuoteBolt11Request { - uint64 amount = 1; + uint32 amount = 1; string unit = 2; } diff --git a/proofs.proto b/proofs.proto index edb19ed..413689e 100644 --- a/proofs.proto +++ b/proofs.proto @@ -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;