We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bebbae5 commit 804bf60Copy full SHA for 804bf60
1 file changed
frontend/src/app.rs
@@ -142,7 +142,7 @@ pub fn App() -> Element {
142
}else{
143
wrapper.fees.out_bps
144
};
145
- let mut payed_fee = curr_amount.get_absolute() * U256::from(payed_fee) / U256::from(1000);
+ let mut payed_fee = curr_amount.get_absolute() * U256::from(payed_fee) / U256::from(10000);
146
if from_sel.decimals > to_sel.decimals{
147
payed_fee /= U256::from(10^(from_sel.decimals - to_sel.decimals))
148
}else if from_sel.decimals < to_sel.decimals{
0 commit comments