File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/io/ipfs/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ public void pinUpdate() throws IOException {
248248 System .out .println ("root1: " + root1Res .hash );
249249 ipfs .pin .add (root1Res .hash );
250250
251- CborObject .CborList root2 = new CborObject .CborList (Arrays .asList (new CborObject .CborMerkleLink (hashChild1 ), new CborObject .CborLong (42 )));
251+ CborObject .CborList root2 = new CborObject .CborList (Arrays .asList (new CborObject .CborMerkleLink (hashChild1 ), new CborObject .CborLong (System . currentTimeMillis () )));
252252 MerkleNode root2Res = ipfs .block .put (Collections .singletonList (root2 .toByteArray ()), Optional .of ("cbor" )).get (0 );
253253 List <Multihash > update = ipfs .pin .update (root1Res .hash , root2Res .hash , true );
254254
@@ -281,7 +281,7 @@ public void rawLeafNodePinUpdate() throws IOException {
281281 CborObject .CborList root2 = new CborObject .CborList (Arrays .asList (
282282 new CborObject .CborMerkleLink (hashChild1 ),
283283 new CborObject .CborMerkleLink (hashChild2 ),
284- new CborObject .CborLong (42 ))
284+ new CborObject .CborLong (System . currentTimeMillis () ))
285285 );
286286 MerkleNode root2Res = ipfs .block .put (Collections .singletonList (root2 .toByteArray ()), Optional .of ("cbor" )).get (0 );
287287 List <Multihash > update = ipfs .pin .update (root1Res .hash , root2Res .hash , false );
You can’t perform that action at this time.
0 commit comments