From 5fa7d72bbad05acdc1eb2ec59e53183d1897a903 Mon Sep 17 00:00:00 2001 From: Evgeniy Kulikov Date: Tue, 26 Nov 2019 15:53:55 +0300 Subject: [PATCH] service: get rid of signature field in accounting + proto generate --- accounting/withdraw.go | 6 ------ accounting/withdraw.pb.go | Bin 73944 -> 71346 bytes accounting/withdraw.proto | 4 ---- 3 files changed, 10 deletions(-) diff --git a/accounting/withdraw.go b/accounting/withdraw.go index 0a8cf90..11c5608 100644 --- a/accounting/withdraw.go +++ b/accounting/withdraw.go @@ -11,12 +11,6 @@ type ( MessageID = refs.MessageID ) -// SetSignature sets signature to PutRequest to satisfy SignedRequest interface. -func (m *PutRequest) SetSignature(v []byte) { m.Signature = v } - -// SetSignature sets signature to DeleteRequest to satisfy SignedRequest interface. -func (m *DeleteRequest) SetSignature(v []byte) { m.Signature = v } - // PrepareData prepares bytes representation of PutRequest to satisfy SignedRequest interface. func (m *PutRequest) PrepareData() ([]byte, error) { var offset int diff --git a/accounting/withdraw.pb.go b/accounting/withdraw.pb.go index a2116c01a729f0d2f6b3bcbaeedee0341339c404..d80b01cfdc9be61f60f0ff375dd852f07fde9e5d 100644 GIT binary patch delta 3693 zcmZXXIjdb&7=|&4T$5-pg+x$HY~_M`9tcE&O+e6A1cg0{g^ksLh&z>*f(KO8fPWxF zJfK)wS!iKlA*QxSkwUQ7wVr1gF4(NQ?;5`0{oZdlzyEmV+dF5z`R(b$-{+T8`+Juk z-!B&~9qvDK|Ma20^1(&7ul0}Zf31%=`nh`L^x^&P>d~nz+yC&=+uK|nU&(fL9oH$3 zYqP|4F5_BF$LG#wyF82kEFKJ8>bb;syYgMcHRpR`KV$7!moc7J2+i49k+5|c8aiGV z=oy=Mx5lu6HS6Ne&$+# z8_g{mv_&k+DT>QVK|<;PNFG$^?0}^7u{+#E(6;OFq-ATt{|>1mYc1w28Y=#&0kH$V z1TpRwz~G&k(;l4-`WqZfYWQBGo7-+gXg8ywLDGydt>4HfF)ULmz!>P3?+JMm1~n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