From 4f18ebf6b8e4e821032bda1dc6040447de4c9187 Mon Sep 17 00:00:00 2001
From: Benoit Lavenier <benoit.lavenier@e-is.pro>
Date: Tue, 6 Jun 2023 18:33:57 +0200
Subject: [PATCH] fix(test) Fix transaction-test.ts (remove old property
 'received', and add new property 'writtenTime')

---
 test/integration/transactions/transactions-test.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/integration/transactions/transactions-test.ts b/test/integration/transactions/transactions-test.ts
index c485b1922..f61ba887d 100644
--- a/test/integration/transactions/transactions-test.ts
+++ b/test/integration/transactions/transactions-test.ts
@@ -67,7 +67,6 @@ describe("Testing transactions", function() {
     await s1.expect('/tx/history/DKpQPUL4ckzXYdnDRvCRKAm1gNvSdmAXnTrJZ7LvM5Qo', (res:any) => {
       res.should.have.property('pubkey').equal('DKpQPUL4ckzXYdnDRvCRKAm1gNvSdmAXnTrJZ7LvM5Qo');
       res.should.have.property('history').property('pending').length(1);
-      res.history.pending[0].should.have.property('received').be.a.Number;
     });
     await s1.commit({
       time: now + 7220
@@ -142,6 +141,7 @@ describe("Testing transactions", function() {
           "0:SIG(0)"
         ],
         "version": 10,
+        "writtenTime": 1490007210,
         "written_block": 3
       })
     })
-- 
GitLab