[#197] session: Link issues for further TODO resolving

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
remotes/fyrchik/split-info-format
Leonard Lyubich 2022-04-27 10:41:09 +03:00 committed by LeL
parent 5fe6d96bf1
commit 526b45e207
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ func (x *Container) Sign(key ecdsa.PrivateKey) error {
//
// See also Sign.
func (x Container) VerifySignature() bool {
// TODO: check owner<->key relation
// TODO: (#233) check owner<->key relation
data, err := x.body.StableMarshal(nil)
if err != nil {
panic(fmt.Sprintf("unexpected error from Token.StableMarshal: %v", err))

View File

@ -200,7 +200,7 @@ func (x *Object) Sign(key ecdsa.PrivateKey) error {
//
// See also Sign.
func (x Object) VerifySignature() bool {
// TODO: check owner<->key relation
// TODO: (#233) check owner<->key relation
data, err := x.body.StableMarshal(nil)
if err != nil {
panic(fmt.Sprintf("unexpected error from Token.StableMarshal: %v", err))