From 118a5f0ece0e3268cc89813a2bea2e306877ba51 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 3 Jul 2019 12:15:35 -0700 Subject: [PATCH] doc: commission is now a u8 (#390) --- web3.js/src/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3.js/src/connection.js b/web3.js/src/connection.js index f8b2eff186..543b5bc389 100644 --- a/web3.js/src/connection.js +++ b/web3.js/src/connection.js @@ -41,7 +41,7 @@ type ContactInfo = { * @property {string} votePubkey Public key of the vote account * @property {string} nodePubkey Identity public key of the node voting with this account * @property {string} stake The stake, in lamports, delegated to this vote account - * @property {string} commission A 32-bit integer used as a fraction (commission/0xFFFFFFFF) for rewards payout + * @property {string} commission A 8-bit unsigned integer used as a fraction (commission/0xFF) for rewards payout */ type VoteAccountInfo = { votePubkey: string,