Skip to content

Commit

Permalink
Merge pull request cashubtc#40 from cashubtc/nut4/payment_hash-to-hash
Browse files Browse the repository at this point in the history
nut4 update: payment_hash to hash
  • Loading branch information
callebtc authored May 10, 2023
2 parents a53ad31 + a07bb2b commit 22ab724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/WalletPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ export default {
let { outputs, rs } = await this.constructOutputs(amounts, secrets);
const keys = this.keys; // fix keys for constructProofs
const promises = await axios.post(
`${this.activeMintUrl}/mint?payment_hash=${payment_hash}`,
`${this.activeMintUrl}/mint?hash=${payment_hash}&payment_hash=${payment_hash}`, // we keep payment_hash for backwards compatibility
{
outputs,
}
Expand Down

0 comments on commit 22ab724

Please sign in to comment.