From 23951acdec965553c861110f1aae8d85d71be3d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Thu, 24 Jun 2021 14:51:44 +0100 Subject: [PATCH] Fixed trying to log invalid field --- clients/validator/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/validator/src/index.ts b/clients/validator/src/index.ts index 851bea5fd3..a88c27b4e8 100644 --- a/clients/validator/src/index.ts +++ b/clients/validator/src/index.ts @@ -405,7 +405,7 @@ export default class ValidatorClient { if (this.client instanceof NetClient) { const bond = await this.minimumGatewayBond() const result = await this.client.executeContract(this.client.clientAddress, this.contractAddress, {bond_gateway: {gateway: gateway}}, "adding gateway", [bond]).catch((err) => this.handleRequestFailure(err)); - console.log(`account ${this.client.clientAddress} added gateway with ${gateway.mix_host}`); + console.log(`account ${this.client.clientAddress} added gateway with ${gateway.host}`); return result; } else { throw new Error("Tried to bond gateway with a query client")