mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-15 11:14:24 +01:00
Fix coinswitch issue
Coinswitch did a breaking change, this fixes it. Closes #660
This commit is contained in:
@@ -46,7 +46,9 @@
|
||||
setTimeout(waitForCoinSwitch, 1000);
|
||||
return;
|
||||
}
|
||||
payment.open(config);
|
||||
payment.on("Exchange:Ready", function(){
|
||||
payment.open(config);
|
||||
});
|
||||
payment.on("Exchange:Complete", function () {
|
||||
if(window.localStorage){
|
||||
window.localStorage.removeItem(toCurrencyAddress);
|
||||
|
||||
Reference in New Issue
Block a user