From 60045eae996026bb243a2d7e4c6f38fa2912f861 Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Wed, 12 Feb 2020 16:20:13 +0800 Subject: [PATCH] fix: rename ContactInfo id attribute to pubkey --- web3.js/module.d.ts | 2 +- web3.js/module.flow.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web3.js/module.d.ts b/web3.js/module.d.ts index 0cf723d957..73b69387e8 100644 --- a/web3.js/module.d.ts +++ b/web3.js/module.d.ts @@ -66,7 +66,7 @@ declare module '@solana/web3.js' { }; export type ContactInfo = { - id: string; + pubkey: string; gossip: string; tpu?: string; rpc?: string; diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 5802efb869..32c5cb4769 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -79,7 +79,7 @@ declare module '@solana/web3.js' { }; declare export type ContactInfo = { - id: string, + pubkey: string, gossip: string, tpu: string | null, rpc: string | null,