From b535a6973a0ee9b4347afb78854b9c0d85c9491e Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 25 Sep 2025 18:13:50 +0300 Subject: [PATCH] Sending to area does not require private key existence --- src/tx.go | 3 --- 1 file changed, 3 deletions(-) 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) -- 2.52.0