From: Sergey Matveev Date: Thu, 25 Sep 2025 15:13:50 +0000 (+0300) Subject: Sending to area does not require private key existence X-Git-Tag: v8.13.0^2~5 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b535a6973a0ee9b4347afb78854b9c0d85c9491e;p=nncp.git Sending to area does not require private key existence --- diff --git a/src/tx.go b/src/tx.go index e0f4f08..2504135 100644 --- a/src/tx.go +++ b/src/tx.go @@ -59,9 +59,6 @@ func (ctx *Ctx) Tx( var area *Area if areaId != nil { area = ctx.AreaId2Area[*areaId] - if area.Prv == nil { - return nil, 0, "", errors.New("area has no encryption keys") - } } hops := make([]*Node, 0, 1+len(node.Via)) hops = append(hops, node)