Skip to content

Commit

Permalink
Pulling bondPrice for bondedFinance Tests from variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith-roth authored Jan 14, 2022
1 parent 08d2b3f commit 09aaa01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class TxBondedFinanceTests {
const requestParameters = {
beneficiary: wallet.publicKey,
asset: 1,
bondPrice: 10000000000000, // pub const MIN_VESTED_TRANSFER: u32 = 1_000_000;
bondPrice: api.consts.vesting.minVestedTransfer,
nbOfBonds: 1,
maturity: { Finite: { returnIn: 10 } },
reward: { asset: 1, amount: 100000000000000, maturity: 1 } // pub MinReward: Balance = 10 * CurrencyId::PICA.unit::<Balance>();
Expand Down

0 comments on commit 09aaa01

Please sign in to comment.