From 23b8f1efa2e31f0e3185181acdb7f1eeee266857 Mon Sep 17 00:00:00 2001 From: lxgr-linux Date: Thu, 14 Dec 2023 16:16:02 +0100 Subject: [PATCH] fixed transactions --- package-lock.json | 2 +- package.json | 2 +- src/views/CardCreatorPage.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f97f1ef5..06910303 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "axios": "^1.5.1", "bignumber.js": "^9.1.0", "crypto-js": "^4.2.0", - "decentralcardgame-cardchain-client-ts": "^0.0.25", + "decentralcardgame-cardchain-client-ts": "0.0.25", "long": "^5.2.0", "merge-images": "^2.0.0", "pinia": "^2.0.23", diff --git a/package.json b/package.json index 4355e100..1cdf9c95 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "axios": "^1.5.1", "bignumber.js": "^9.1.0", "crypto-js": "^4.2.0", - "decentralcardgame-cardchain-client-ts": "^0.0.25", + "decentralcardgame-cardchain-client-ts": "0.0.25", "long": "^5.2.0", "merge-images": "^2.0.0", "pinia": "^2.0.23", diff --git a/src/views/CardCreatorPage.vue b/src/views/CardCreatorPage.vue index 9509dea3..ccab6235 100644 --- a/src/views/CardCreatorPage.vue +++ b/src/views/CardCreatorPage.vue @@ -1083,7 +1083,7 @@ export default { ) return } - if (this.designateArtist && !this.$cardChain.validAddress(this.artistAddress)) { + if (this.designateArtist && !validAddress(this.artistAddress)) { this.notifyFail( "Invalid Address", "The address given for designated artist is invalid."