diff --git a/service/v2/signature.go b/service/v2/signature.go new file mode 100644 index 00000000..5470bea3 --- /dev/null +++ b/service/v2/signature.go @@ -0,0 +1,17 @@ +package v2 + +func (m *RequestMetaHeader) ReadSignedData(buf []byte) ([]byte, error) { + return m.StableMarshal(buf) +} + +func (m *RequestMetaHeader) SignedDataSize() int { + return m.StableSize() +} + +func (m *RequestVerificationHeader) ReadSignedData(buf []byte) ([]byte, error) { + return m.StableMarshal(buf) +} + +func (m *RequestVerificationHeader) SignedDataSize() int { + return m.StableSize() +}