mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
wallet2: fix hf rules for small BP
This commit is contained in:
parent
3d513d85a2
commit
4265df1460
1 changed files with 2 additions and 2 deletions
|
@ -9419,7 +9419,7 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_2(std::vector<cryp
|
||||||
const bool bulletproof = use_fork_rules(get_bulletproof_fork(), 0);
|
const bool bulletproof = use_fork_rules(get_bulletproof_fork(), 0);
|
||||||
const rct::RCTConfig rct_config {
|
const rct::RCTConfig rct_config {
|
||||||
bulletproof ? rct::RangeProofPaddedBulletproof : rct::RangeProofBorromean,
|
bulletproof ? rct::RangeProofPaddedBulletproof : rct::RangeProofBorromean,
|
||||||
bulletproof ? (use_fork_rules(12, 0) ? 1 : 2) : 0
|
bulletproof ? (use_fork_rules(HF_VERSION_SMALLER_BP, -10) ? 2 : 1) : 0
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint64_t base_fee = get_base_fee();
|
const uint64_t base_fee = get_base_fee();
|
||||||
|
@ -10089,7 +10089,7 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_from(const crypton
|
||||||
const bool bulletproof = use_fork_rules(get_bulletproof_fork(), 0);
|
const bool bulletproof = use_fork_rules(get_bulletproof_fork(), 0);
|
||||||
const rct::RCTConfig rct_config {
|
const rct::RCTConfig rct_config {
|
||||||
bulletproof ? rct::RangeProofPaddedBulletproof : rct::RangeProofBorromean,
|
bulletproof ? rct::RangeProofPaddedBulletproof : rct::RangeProofBorromean,
|
||||||
bulletproof ? (use_fork_rules(12, 0) ? 1 : 2) : 0,
|
bulletproof ? (use_fork_rules(HF_VERSION_SMALLER_BP, -10) ? 2 : 1) : 0
|
||||||
};
|
};
|
||||||
const uint64_t base_fee = get_base_fee();
|
const uint64_t base_fee = get_base_fee();
|
||||||
const uint64_t fee_multiplier = get_fee_multiplier(priority, get_fee_algorithm());
|
const uint64_t fee_multiplier = get_fee_multiplier(priority, get_fee_algorithm());
|
||||||
|
|
Loading…
Reference in a new issue