You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the CheckoutServerApi.getState request does not depend on the currency type anymore (see #412), it does not make sense anymore that the CheckoutCards for every coin separately fetch and update the state. Instead, the Checkout view can take care of this and forward the updated state to the CheckoutCards. Same for syncing to server time.
Also, currently it doesn't make too much sense that the overpayment / underpayment logic is in the CheckoutCard base class as its only used for BTC and ETH. As this would change with #415 though, this should already be taken into consideration when refactoring the state update.
The text was updated successfully, but these errors were encountered:
As the
CheckoutServerApi.getState
request does not depend on the currency type anymore (see #412), it does not make sense anymore that theCheckoutCard
s for every coin separately fetch and update the state. Instead, theCheckout
view can take care of this and forward the updated state to theCheckoutCard
s. Same for syncing to server time.Also, currently it doesn't make too much sense that the overpayment / underpayment logic is in the
CheckoutCard
base class as its only used for BTC and ETH. As this would change with #415 though, this should already be taken into consideration when refactoring the state update.The text was updated successfully, but these errors were encountered: