diff options
author | Florian Dold <florian@dold.me> | 2022-08-24 22:42:30 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-08-24 22:42:30 +0200 |
commit | f3231ccdf9a2ce944bdc039fa8351117d18c3fe3 (patch) | |
tree | 09526df32c6c234eb9cfcc85ee6221c3f36a12f2 /packages/taler-wallet-core/src/operations/peer-to-peer.ts | |
parent | a11ac57535b0375f152ce115ee541cb8aca98e84 (diff) | |
download | wallet-core-f3231ccdf9a2ce944bdc039fa8351117d18c3fe3.tar.xz |
wallet-core: put taler:// URIs in transactions list
Diffstat (limited to 'packages/taler-wallet-core/src/operations/peer-to-peer.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/peer-to-peer.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/peer-to-peer.ts b/packages/taler-wallet-core/src/operations/peer-to-peer.ts index d6d71720c..19306845a 100644 --- a/packages/taler-wallet-core/src/operations/peer-to-peer.ts +++ b/packages/taler-wallet-core/src/operations/peer-to-peer.ts @@ -534,7 +534,9 @@ export async function acceptPeerPushPayment( await internalCreateWithdrawalGroup(ws, { amount, - withdrawalType: WithdrawalRecordType.PeerPushCredit, + wgInfo: { + withdrawalType: WithdrawalRecordType.PeerPushCredit, + }, exchangeBaseUrl: peerInc.exchangeBaseUrl, reserveStatus: ReserveRecordStatus.QueryingStatus, reserveKeyPair: { @@ -804,7 +806,10 @@ export async function initiatePeerRequestForPay( await internalCreateWithdrawalGroup(ws, { amount: Amounts.parseOrThrow(req.amount), - withdrawalType: WithdrawalRecordType.PeerPullCredit, + wgInfo: { + withdrawalType: WithdrawalRecordType.PeerPullCredit, + contractPriv: econtractResp.contractPriv, + }, exchangeBaseUrl: req.exchangeBaseUrl, reserveStatus: ReserveRecordStatus.QueryingStatus, reserveKeyPair: { |