mirror of
				https://github.com/haveno-dex/haveno-ts.git
				synced 2025-10-31 14:38:55 -04:00 
			
		
		
		
	Compare commits
	
		
			2 commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | c0ea23288e | ||
|   | 16e1e41a58 | 
					 3 changed files with 4 additions and 3 deletions
				
			
		
							
								
								
									
										4
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							|  | @ -1,12 +1,12 @@ | ||||||
| { | { | ||||||
|   "name": "haveno-ts", |   "name": "haveno-ts", | ||||||
|   "version": "0.0.6", |   "version": "0.0.7", | ||||||
|   "lockfileVersion": 2, |   "lockfileVersion": 2, | ||||||
|   "requires": true, |   "requires": true, | ||||||
|   "packages": { |   "packages": { | ||||||
|     "": { |     "": { | ||||||
|       "name": "haveno-ts", |       "name": "haveno-ts", | ||||||
|       "version": "0.0.6", |       "version": "0.0.7", | ||||||
|       "license": "Apache-2.0", |       "license": "Apache-2.0", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@types/node": "^17.0.30", |         "@types/node": "^17.0.30", | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| { | { | ||||||
|   "name": "haveno-ts", |   "name": "haveno-ts", | ||||||
|   "version": "0.0.6", |   "version": "0.0.7", | ||||||
|   "description": "Haveno TypeScript interface", |   "description": "Haveno TypeScript interface", | ||||||
|   "main": "dist/index.js", |   "main": "dist/index.js", | ||||||
|   "types": "dist/index.d.ts", |   "types": "dist/index.d.ts", | ||||||
|  |  | ||||||
|  | @ -1130,6 +1130,7 @@ test("Can schedule offers with locked funds", async () => { | ||||||
|     await waitForAvailableBalance(outputAmt, user3); |     await waitForAvailableBalance(outputAmt, user3); | ||||||
|      |      | ||||||
|     // one output is reserved, one is unlocked
 |     // one output is reserved, one is unlocked
 | ||||||
|  |     await wait(TestConfig.walletSyncPeriodMs); | ||||||
|     expect(BigInt((await user3.getBalances()).getAvailableBalance())).toEqual(outputAmt); |     expect(BigInt((await user3.getBalances()).getAvailableBalance())).toEqual(outputAmt); | ||||||
|     expect(BigInt((await user3.getBalances()).getPendingBalance())).toEqual(BigInt(0)); |     expect(BigInt((await user3.getBalances()).getPendingBalance())).toEqual(BigInt(0)); | ||||||
|     expect(BigInt((await user3.getBalances()).getReservedOfferBalance())).toEqual(outputAmt); |     expect(BigInt((await user3.getBalances()).getReservedOfferBalance())).toEqual(outputAmt); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue