Skip to content

Commit

Permalink
Merge pull request #876 from bitholla/hotfix
Browse files Browse the repository at this point in the history
Hotfix
  • Loading branch information
abeikverdi authored Jul 10, 2021
2 parents bd41035 + 196e5d7 commit 820e6ce
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 17 deletions.
2 changes: 1 addition & 1 deletion server/api/swagger/swagger.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
swagger: "2.0"
info:
version: "2.1.13"
version: "2.1.14"
title: HollaEx Kit
host: api.hollaex.com
basePath: /v2
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.1.13",
"version": "2.1.14",
"private": false,
"description": "HollaEx Kit",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.13
2.1.14
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hollaex-kit",
"version": "2.1.13",
"version": "2.1.14",
"private": true,
"dependencies": {
"@ant-design/compatible": "1.0.5",
Expand Down
16 changes: 3 additions & 13 deletions web/src/components/Form/validations.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,10 @@ export const validAddress = (symbol = '', message, network) => {
let valid = true;

if (network) {
if (network === 'bnb') {
network = 'eth';
}
valid = WAValidator.validate(address, network);
// switch (network) {
// case 'ethereum':
// valid = WAValidator.validate(address, 'eth');
// break;
// case 'stellar':
// valid = WAValidator.validate(address, 'xlm');
// break;
// case 'tron':
// valid = WAValidator.validate(address, 'trx');
// break;
// default:
// break;
// }
} else {
const supported = WAValidator.findCurrency(symbol);
if (supported) {
Expand Down

0 comments on commit 820e6ce

Please sign in to comment.