fix(scripts): 修正容器名为 rwa-blockchain-service
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b9b6dacbab
commit
dcf857059e
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue