From 0fc3f5ef0290f6077846cafd8ac3366dbb011e6f Mon Sep 17 00:00:00 2001 From: Tore-tto Date: Thu, 12 Feb 2026 18:14:46 +0530 Subject: [PATCH] fix(search): correct bns name suffix stripping logic --- explorer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/explorer.py b/explorer.py index e78bd9c..3d252f0 100644 --- a/explorer.py +++ b/explorer.py @@ -859,8 +859,8 @@ def search(): # The above loads 260 bytes (5 bits per char * 52 chars), but we only want 256: v >>= 4 val = "{:64x}".format(v) - if val and len(val) <= 68 and val.endswith(".bdx"): - val = val.rstrip('.bdx') + if val.endswith(".bdx"): + val = val[:-4] # BNS can be of length 64 however with txids, and sn pubkey's being of length 64 # I have removed it from the possible searches.