Skip to content

Conversation

@onur-ozkan
Copy link
Collaborator

As makers may not have a balance in the coin they want to swap, we need to calculate get_receiver_trade_fee in platform coin.

Same goes for ETH assets: https://github.com/KomodoPlatform/komodo-defi-framework/blob/b0fd99e8406e67ea06435dd028991caa5f522b5c/mm2src/coins/eth.rs#L4892-L4895

@smk762 smk762 self-requested a review April 30, 2024 17:55
Copy link

@smk762 smk762 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working as expected, thanks!

@onur-ozkan onur-ozkan merged commit 4a6511e into dev Apr 30, 2024
@onur-ozkan onur-ozkan deleted the fix-tendermint-fees branch April 30, 2024 18:04
dimxy pushed a commit to dimxy/komodo-defi-framework that referenced this pull request May 9, 2024
* dev:
  feat(app-dir): implement root application dir `.kdf` (GLEECBTC#2102)
  fix tendermint fee calculation (GLEECBTC#2106)
  update dockerfile (GLEECBTC#2104)
  docs(README): remove outdated information from the README (GLEECBTC#2097)
  fix(sia): fix sia compilation after hd wallet PR merge (GLEECBTC#2103)
  feat(hd_wallet): utxo and evm hd wallet and trezor (GLEECBTC#1962)
  feat(sia): initial Sia integration (GLEECBTC#2086)
  fix(BCH): deserialize BCH header that uses KAWPOW version correctly (GLEECBTC#2099)
  fix(eth_tests): remove ETH_DEV_NODE from tests (GLEECBTC#2101)
  feat(coin): support nucleus as an alternative to iris HTLC (GLEECBTC#2079)
dimxy pushed a commit to dimxy/komodo-defi-framework that referenced this pull request May 14, 2024
* dev:
  feat(tendermint): pubkey-only activation and unsigned tx (GLEECBTC#2088)
  fix(tests): set txfee for some tbtc tests (GLEECBTC#2116)
  fix(eth): remove my_address from sign_and_send_transaction_with_keypair (GLEECBTC#2115)
  fix(utxo-swap): apply events occurred while taker down (GLEECBTC#2114)
  refactor(memory): memory usage improvements (GLEECBTC#2098)
  feat(app-dir): implement root application dir `.kdf` (GLEECBTC#2102)
  fix tendermint fee calculation (GLEECBTC#2106)
  update dockerfile (GLEECBTC#2104)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants