diff --git a/client/asset/eth/eth.go b/client/asset/eth/eth.go
index 6c74078569..7fbed41352 100644
--- a/client/asset/eth/eth.go
+++ b/client/asset/eth/eth.go
@@ -3737,6 +3737,8 @@ func (w *assetWallet) resubmitRedemption(tx *types.Transaction, contractVersion
var replacementHash common.Hash
copy(replacementHash[:], txs[0])
+ w.log.Infof("Redemption transaction %s was broadcast to replace transaction %s (original tx: %s)", replacementHash, monitoredTx.tx.Hash(), tx.Hash())
+
if monitoredTx != nil {
err = w.recordReplacementTx(monitoredTx, replacementHash)
if err != nil {
@@ -4535,7 +4537,11 @@ func getFileCredentials(chain, path string, net dex.Network) (seed []byte, provi
return nil, nil, fmt.Errorf("must provide both seeds in credentials file")
}
seed = p.Seed
- providers = p.Providers[chain][net.String()]
+ for _, uri := range p.Providers[chain][net.String()] {
+ if !strings.HasPrefix(uri, "#") && !strings.HasPrefix(uri, ";") {
+ providers = append(providers, uri)
+ }
+ }
if net == dex.Simnet && len(providers) == 0 {
u, _ := user.Current()
switch chain {
@@ -5213,7 +5219,7 @@ func getGasEstimates(ctx context.Context, cl, acl ethFetcher, c contractor, ac t
copy(randomAddr[:], encode.RandomBytes(20))
transferTx, err := tc.transfer(txOpts, randomAddr, big.NewInt(1))
if err != nil {
- return fmt.Errorf("error estimating transfer gas: %w", err)
+ return fmt.Errorf("transfer error: %w", err)
}
if err = waitForConfirmation(ctx, cl, transferTx.Hash()); err != nil {
return fmt.Errorf("error waiting for transfer tx: %w", err)
diff --git a/client/asset/polygon/polygon.go b/client/asset/polygon/polygon.go
index d3a7c9b246..7e584198bc 100644
--- a/client/asset/polygon/polygon.go
+++ b/client/asset/polygon/polygon.go
@@ -30,6 +30,8 @@ func init() {
asset.Register(BipID, &Driver{})
registerToken(simnetTokenID, "A token wallet for the DEX test token. Used for testing DEX software.", dex.Simnet)
registerToken(usdcTokenID, "The USDC Ethereum ERC20 token.", dex.Mainnet, dex.Testnet)
+ registerToken(wbtcTokenID, "Wrapped BTC.", dex.Mainnet)
+ registerToken(wethTokenID, "Wrapped ETH.", dex.Mainnet)
}
const (
@@ -43,6 +45,8 @@ const (
var (
simnetTokenID, _ = dex.BipSymbolID("dextt.polygon")
usdcTokenID, _ = dex.BipSymbolID("usdc.polygon")
+ wethTokenID, _ = dex.BipSymbolID("weth.polygon")
+ wbtcTokenID, _ = dex.BipSymbolID("wbtc.polygon")
// WalletInfo defines some general information about a Polygon Wallet(EVM
// Compatible).
diff --git a/client/webserver/site/src/html/bodybuilder.tmpl b/client/webserver/site/src/html/bodybuilder.tmpl
index ea413e7cc6..4f1f6dca67 100644
--- a/client/webserver/site/src/html/bodybuilder.tmpl
+++ b/client/webserver/site/src/html/bodybuilder.tmpl
@@ -103,7 +103,7 @@
{{end}}
{{define "bottom"}}
-
+