@jpool/bond-sdk 0.9.0-next.25 → 0.9.0-next.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7107,10 +7107,6 @@ var JBondClient = class _JBondClient {
7107
7107
  this.programId
7108
7108
  );
7109
7109
  const validatorBond = this.pda.validatorBond(bondType, bondName, vote);
7110
- console.log("Derived legacy validator bond account:", legacyValidatorBondAccount.toBase58());
7111
- console.log("Derived new validator bond account:", validatorBond[0].toBase58());
7112
- console.log("Fetching history for legacy validator bond account:", legacyValidatorBondAccount.toBase58());
7113
- console.log("Fetching history for new validator bond account:", validatorBond[0].toBase58());
7114
7110
  const legacySignatures = (await this.connection.getSignaturesForAddress(
7115
7111
  legacyValidatorBondAccount,
7116
7112
  {
@@ -7186,8 +7182,6 @@ var JBondClient = class _JBondClient {
7186
7182
  const amountBytes = dataBuffer.subarray(8, 16);
7187
7183
  const amountBN = new import_bn2.BN(amountBytes, "le");
7188
7184
  amount = amountBN.toNumber() / web3_js.LAMPORTS_PER_SOL;
7189
- } else {
7190
- amount = 0;
7191
7185
  }
7192
7186
  } else if (dataBuffer.length >= 16) {
7193
7187
  const amountBytes = dataBuffer.subarray(8, 16);