@triadxyz/poseidons-protocol 0.0.1 → 0.0.2
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -129,7 +129,7 @@ class PoseidonsProtocolClient {
|
|
|
129
129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
130
130
|
const ixs = [
|
|
131
131
|
yield this.program.methods
|
|
132
|
-
.addPoseidonPower(new anchor_1.BN(amount))
|
|
132
|
+
.addPoseidonPower(new anchor_1.BN(amount * Math.pow(10, 6)))
|
|
133
133
|
.accounts({
|
|
134
134
|
owner: this.program.provider.publicKey,
|
|
135
135
|
corePoseidonCollection: constants_1.CORE_POSEIDON_COLLECTION,
|