diff options
author | Florian Dold <florian@dold.me> | 2023-09-05 11:35:06 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-09-05 11:35:06 +0200 |
commit | 49b0f5337c27c5da3e85c512de72e6903e928bc8 (patch) | |
tree | ff979ed992c0fcea501f2d45b2bbed21f951b0b6 /packages/taler-wallet-core/src | |
parent | a3f370b0d83030e1a265374fd23371b000ada1c9 (diff) | |
download | wallet-core-49b0f5337c27c5da3e85c512de72e6903e928bc8.tar.xz |
harness: check expected balance in test-pay-expired
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/remote.ts | 1 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/remote.ts b/packages/taler-wallet-core/src/remote.ts index 89348698e..164f7cfe9 100644 --- a/packages/taler-wallet-core/src/remote.ts +++ b/packages/taler-wallet-core/src/remote.ts @@ -65,6 +65,7 @@ export async function createRemoteWallet( const ctx: RemoteWallet = { makeCoreApiRequest(operation, payload) { const id = `req-${nextRequestId}`; + nextRequestId += 1; const req: CoreApiRequestEnvelope = { operation, id, diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 4194ab9eb..f42365c00 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1680,6 +1680,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( const req = codecForTestingSetTimetravelRequest().decode(payload); setDangerousTimetravel(req.offsetMs); ws.workAvailable.trigger(); + return {}; } // default: // assertUnreachable(operation); |