From 63fbbd02e367fc8aa477c7135755ae18ce0a3a13 Mon Sep 17 00:00:00 2001 From: Bram Borggreve Date: Wed, 13 Nov 2024 14:54:58 -0500 Subject: [PATCH] refactor: change genesis hash network token name --- .../data-access/src/lib/api-network-token-data.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/api/network-token/data-access/src/lib/api-network-token-data.service.ts b/libs/api/network-token/data-access/src/lib/api-network-token-data.service.ts index 299b468..0ec1fca 100644 --- a/libs/api/network-token/data-access/src/lib/api-network-token-data.service.ts +++ b/libs/api/network-token/data-access/src/lib/api-network-token-data.service.ts @@ -54,10 +54,10 @@ export class ApiNetworkTokenDataService { network: { connect: { cluster: network.cluster } }, type: NetworkTokenType.Validator, account: hash, - name: `${network.cluster.replace('Solana', 'Solana ')} Genesis`, + name: `${network.cluster.replace('Solana', 'Solana ')}`, + description: `Genesis Hash for ${network.cluster.replace('Solana', 'Solana ')}`, program: SystemProgram.programId.toBase58(), } - await this.core.data.networkToken.create({ data }) this.logger.log( `ensureGenesisHash: Created Genesis Block for cluster ${network.cluster} with genesis hash ${hash}`,