Skip to content

Commit

Permalink
nut4 update: payment_hash to hash
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed May 10, 2023
1 parent a53ad31 commit a07bb2b
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 a07bb2b

Please sign in to comment.