diff options
author | Florian Dold <florian@dold.me> | 2024-01-22 21:29:47 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-01-22 21:29:47 +0100 |
commit | fb5f098f9e60f03cdd6f78aba5aa248ec5889485 (patch) | |
tree | 2ddbf078597d48cbf9c85fa3c0491e5e63bb2196 /packages/taler-wallet-core/src/wallet.ts | |
parent | 88851f45403c1995c973bcae7ad2976db3c430c7 (diff) | |
download | wallet-core-fb5f098f9e60f03cdd6f78aba5aa248ec5889485.tar.gz wallet-core-fb5f098f9e60f03cdd6f78aba5aa248ec5889485.tar.bz2 wallet-core-fb5f098f9e60f03cdd6f78aba5aa248ec5889485.zip |
wallet-core: implement and test balance reporting with scope info
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 87c5aa995..333e42621 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1048,11 +1048,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( withdrawalAccountsList: wi.exchangeCreditAccountDetails, numCoins, // FIXME: Once we have proper scope info support, return correct info here. - scopeInfo: { - type: ScopeType.Exchange, - currency: amt.currency, - url: req.exchangeBaseUrl, - }, + scopeInfo: wi.scopeInfo, }; return resp; } |