diff options
Diffstat (limited to 'internal/processing/account/createblock.go')
-rw-r--r-- | internal/processing/account/createblock.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/processing/account/createblock.go b/internal/processing/account/createblock.go index d2a2bab94..68f28fafe 100644 --- a/internal/processing/account/createblock.go +++ b/internal/processing/account/createblock.go @@ -53,10 +53,7 @@ func (p *processor) BlockCreate(ctx context.Context, requestingAccount *gtsmodel // make the block block := >smodel.Block{} - newBlockID, err := id.NewULID() - if err != nil { - return nil, gtserror.NewErrorInternalError(err) - } + newBlockID := id.NewULID() block.ID = newBlockID block.AccountID = requestingAccount.ID block.Account = requestingAccount |