Skip to content

Commit

Permalink
Merge pull request #102 from yxxyun/dev
Browse files Browse the repository at this point in the history
update ripple-lib
  • Loading branch information
ult-zhiwei authored Sep 28, 2019
2 parents a2faccd + 3fe13f1 commit d7462a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lokijs": "^1.5.5",
"ripple-address-codec": "^2.0.1",
"xrpl-tagged-address-codec": "^0.2.0",
"ripple-lib": "^1.2.4",
"ripple-lib": "^1.3.3",
"stellar-sdk": "^0.11.0",
"vant": "^1.4.3",
"vee-validate": "^2.1.0-beta.11",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/transaction/send-ripple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
'form.receiveAddress' () {
if (this.form.receiveAddress) {
if (this.$wallet.isTagAddress(this.form.receiveAddress)){
var decode=this.$wallet.decodeTagAddress(this.form.receiveAddress);
let decode=this.$wallet.decodeTagAddress(this.form.receiveAddress);
this.receiveAddress=decode.account;
this.tag=decode.tag;
this.tagAddress=true;
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/coins/Ripple.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ class RippleWallet{
isTagAddress (address) {
try{
Decode(address);
return true;
}catch (e) {return false;}
return true;
}

decodeTagAddress (address) {
Expand Down

0 comments on commit d7462a6

Please sign in to comment.