From 4f2f41d25f9c1b54d3b3d1aec180c4de6f552b81 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 24 Sep 2018 18:08:20 -0700 Subject: [PATCH] s/contract_id/program_id --- web3.js/src/connection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web3.js/src/connection.js b/web3.js/src/connection.js index 53fdd9bb5c..9962e988da 100644 --- a/web3.js/src/connection.js +++ b/web3.js/src/connection.js @@ -66,7 +66,7 @@ const GetAccountInfoRpcResult = struct({ id: 'string', error: 'any?', result: struct.optional({ - contract_id: 'array', + program_id: 'array', tokens: 'number', userdata: 'array', }), @@ -203,7 +203,7 @@ export class Connection { } return { tokens: result.tokens, - programId: bs58.encode(result.contract_id), + programId: bs58.encode(result.program_id), userdata, }; }