From 0c4c619170b20b0cf2d3f481adadd341faad05fd Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 04:33:58 +0100 Subject: [PATCH] fix: use chain.TestnetGenesisHash constant instead of hardcoded string Co-Authored-By: Charon --- cmd_serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd_serve.go b/cmd_serve.go index 4ee73d3..a1ee704 100644 --- a/cmd_serve.go +++ b/cmd_serve.go @@ -63,7 +63,7 @@ func runServe(dataDir, seed string, testnet bool, rpcBind, rpcPort, walletRPC st // Set genesis hash for testnet. if testnet { - chain.GenesisHash = "7cf844dc3e7d8dd6af65642c68164ebe18109aa5167b5f76043f310dd6e142d0" + chain.GenesisHash = chain.TestnetGenesisHash } ctx, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)