diff --git a/info.proto b/info.proto index bc5178a..dd00b26 100644 --- a/info.proto +++ b/info.proto @@ -18,8 +18,8 @@ enum ContactType { message MethodTypes { MethodType method = 1; UnitType unit = 2; - uint32 min_amount = 3; - uint32 max_amount = 4; + uint64 min_amount = 3; + uint64 max_amount = 4; } message NutDetails { repeated MethodTypes methods = 1; diff --git a/melt.proto b/melt.proto index 9481178..a33bff7 100644 --- a/melt.proto +++ b/melt.proto @@ -21,8 +21,8 @@ message PostMeltQuoteStateResponse { message PostMeltQuoteBolt11Response { string quote = 1; - uint32 amount = 2; - uint32 fee_reserve = 3; + uint64 amount = 2; + uint64 fee_reserve = 3; bool paid = 4; int64 expiry = 5; } diff --git a/message.proto b/message.proto index 21062c2..f992d1d 100644 --- a/message.proto +++ b/message.proto @@ -3,7 +3,7 @@ package cashu.v1; option go_package = "github.com/cashu/rpc/message"; message BlindedMessage { - uint32 amount = 1; + uint64 amount = 1; string id = 2; string B_ = 3; } \ No newline at end of file diff --git a/mint.proto b/mint.proto index aedf403..1632e8f 100644 --- a/mint.proto +++ b/mint.proto @@ -14,7 +14,7 @@ enum UnitType { message PostMintQuoteBolt11Request { - uint32 amount = 1; + uint64 amount = 1; string unit = 2; } diff --git a/proofs.proto b/proofs.proto index 413689e..edb19ed 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 { - uint32 amount = 1; + uint64 amount = 1; string id = 2; string secret = 3; string C = 4;