@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.mjs CHANGED
@@ -7071,10 +7071,6 @@ var JBondClient = class _JBondClient {
7071
7071
  this.programId
7072
7072
  );
7073
7073
  const validatorBond = this.pda.validatorBond(bondType, bondName, vote);
7074
- console.log("Derived legacy validator bond account:", legacyValidatorBondAccount.toBase58());
7075
- console.log("Derived new validator bond account:", validatorBond[0].toBase58());
7076
- console.log("Fetching history for legacy validator bond account:", legacyValidatorBondAccount.toBase58());
7077
- console.log("Fetching history for new validator bond account:", validatorBond[0].toBase58());
7078
7074
  const legacySignatures = (await this.connection.getSignaturesForAddress(
7079
7075
  legacyValidatorBondAccount,
7080
7076
  {
@@ -7150,8 +7146,6 @@ var JBondClient = class _JBondClient {
7150
7146
  const amountBytes = dataBuffer.subarray(8, 16);
7151
7147
  const amountBN = new import_bn2.BN(amountBytes, "le");
7152
7148
  amount = amountBN.toNumber() / LAMPORTS_PER_SOL;
7153
- } else {
7154
- amount = 0;
7155
7149
  }
7156
7150
  } else if (dataBuffer.length >= 16) {
7157
7151
  const amountBytes = dataBuffer.subarray(8, 16);