From dcf857059e5a54b6a174a8f23fb7b8f9f0651ea8 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 15 Dec 2025 10:34:25 -0800 Subject: [PATCH] =?UTF-8?q?fix(scripts):=20=E4=BF=AE=E6=AD=A3=E5=AE=B9?= =?UTF-8?q?=E5=99=A8=E5=90=8D=E4=B8=BA=20rwa-blockchain-service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- backend/scripts/init-hot-wallet.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/scripts/init-hot-wallet.sh b/backend/scripts/init-hot-wallet.sh index ff553798..96dd7e84 100644 --- a/backend/scripts/init-hot-wallet.sh +++ b/backend/scripts/init-hot-wallet.sh @@ -386,9 +386,9 @@ derive_address() { ADDRESS="" - # 方法 1: 使用 Docker 容器里的 node (blockchain-service 容器有 ethers) + # 方法 1: 使用 Docker 容器里的 node (rwa-blockchain-service 容器有 ethers) log_debug "尝试使用 Docker 容器计算地址" - ADDRESS=$(docker exec blockchain-service node -e " + ADDRESS=$(docker exec rwa-blockchain-service node -e " const { computeAddress } = require('ethers'); console.log(computeAddress('0x$PUBLIC_KEY')); " 2>/dev/null)