From 676516371d4efc7bc5fa1360e7279131ec2110a8 Mon Sep 17 00:00:00 2001 From: gohumble Date: Sun, 5 May 2024 13:49:44 +0200 Subject: [PATCH] using uint32 --- keys.proto | 2 +- signature.proto | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/keys.proto b/keys.proto index 50253bd..85a1f09 100644 --- a/keys.proto +++ b/keys.proto @@ -16,5 +16,5 @@ message Keyset { string unit = 2; string mint_url = 3; bool active = 4; - map keys = 5; + map keys = 5; } diff --git a/signature.proto b/signature.proto index ce0c300..3c9cae0 100644 --- a/signature.proto +++ b/signature.proto @@ -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_\""]; }