Skip to content

Commit

Permalink
review followup
Browse files Browse the repository at this point in the history
  • Loading branch information
buck54321 committed Jul 18, 2023
1 parent db20261 commit 639408f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions client/asset/eth/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -4815,11 +4815,8 @@ func (getGas) EstimateFunding(ctx context.Context, net dex.Network, assetID, con
return nil
}

// Return returns the estimation wallet's Ethereum balance to a specified
// address, if it is more than fees required to send. Note: There is no way yet
// to get token balances returned, because the amount of token balance required
// is typically only a few atoms. The user should only fund a token's balance
// with the recommended amount from EstimateFunding.
// Return returns the estimation wallet's base-chain or token balance to a
// specified address, if it is more than fees required to send.
func (getGas) Return(
ctx context.Context,
assetID uint32,
Expand Down
2 changes: 1 addition & 1 deletion dex/testing/polygon/harness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ while [ "\${DIFF}" -lt "\${NUM}" ];do
DIFF=\$((CURRENT_BLOCK-START_BLOCK))
# echo "Current Block: \${CURRENT_BLOCK}"
done
echo "Blocks Mined: \${DIFF}"
"${HARNESS_DIR}/${NAME}" --exec 'miner.stop()' > /dev/null
echo "Blocks Mined: \${DIFF}"
EOF
chmod +x "${HARNESS_DIR}/mine-${NAME}"
fi
Expand Down

0 comments on commit 639408f

Please sign in to comment.