Skip to content

Commit

Permalink
feat(wallet): Switch to the new payment API
Browse files Browse the repository at this point in the history
Payments are sent via broadcast-signed-payment method.
  • Loading branch information
beregovoy68 committed Jul 19, 2016
1 parent d4c05d1 commit 4ef675a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions js/waves.api.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,8 @@ var Waves = (function (Waves, $) {
},
waves: {
address: URL + '/waves/address',
broadcastTransaction: URL + '/waves/external-payment'
broadcastTransaction: URL + '/waves/broadcast-signed-payment'
}

};


Expand Down
1 change: 1 addition & 0 deletions js/waves.ui.wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ var Waves = (function(Waves, $, undefined) {
"signature": signature,
"amount": amount,
"senderPublicKey": Waves.publicKey,
"sender": Waves.address.getRawAddress(),
"fee": fee
}

Expand Down

0 comments on commit 4ef675a

Please sign in to comment.