From 604ba7f6ea8bfc73a2954f3237a65d2448fcaa2d Mon Sep 17 00:00:00 2001 From: Viacheslav Gonkivskyi Date: Fri, 2 Jun 2023 17:13:48 +0200 Subject: [PATCH] fix return statement --- blob/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blob/service.go b/blob/service.go index 51a579f453..53ada45450 100644 --- a/blob/service.go +++ b/blob/service.go @@ -70,7 +70,7 @@ func (s *Service) Submit(ctx context.Context, blobs []*Blob) (uint64, error) { if err != nil { return 0, err } - return uint64(resp.Height), err + return uint64(resp.Height), nil } // Get retrieves all the blobs for given namespaces at the given height by commitment.