mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-04-24 17:39:19 -04:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c0ea23288e | ||
![]() |
16e1e41a58 |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "haveno-ts",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.7",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "haveno-ts",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.7",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@types/node": "^17.0.30",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "haveno-ts",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.7",
|
||||
"description": "Haveno TypeScript interface",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
@ -1130,6 +1130,7 @@ test("Can schedule offers with locked funds", async () => {
|
||||
await waitForAvailableBalance(outputAmt, user3);
|
||||
|
||||
// one output is reserved, one is unlocked
|
||||
await wait(TestConfig.walletSyncPeriodMs);
|
||||
expect(BigInt((await user3.getBalances()).getAvailableBalance())).toEqual(outputAmt);
|
||||
expect(BigInt((await user3.getBalances()).getPendingBalance())).toEqual(BigInt(0));
|
||||
expect(BigInt((await user3.getBalances()).getReservedOfferBalance())).toEqual(outputAmt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user