@@ -47,7 +47,7 @@ test('creates a valid payload to create items', () => {
47
47
public_key : '69fee81c9045b35eaf04b74bfa7983618a08acb719ef8d3749a4f004a293cadf' ,
48
48
script_public_key : 'a0b08e623c6800bb27dddb5d6f6956939be674cfc63399dcc7b9f2e6733c02e5' ,
49
49
signature :
50
- '08e2251bb12d8b4acf168404a11166868bc9222364ee66d545ab4c9e317d85ca420686b637319869ecba7bbf3aa268577ab434990847a3b32537e84ac5b1bd03 ' ,
50
+ '277d56770697ba1f6cec5e859aa4dcdff0ec4a261c75408092d44a38e768461a45fc0a7964ecb4714eb2849b0cd4c43e107db76f8a62c6b783342a895889b80c ' ,
51
51
version : null ,
52
52
drs_tx_hash_spec :
53
53
IDrsTxHashSpecification . Default /* Create generic Item assets instead of a tracked Item assets */ ,
@@ -61,7 +61,7 @@ test('creates a valid payload to create items', () => {
61
61
public_key : '69fee81c9045b35eaf04b74bfa7983618a08acb719ef8d3749a4f004a293cadf' ,
62
62
script_public_key : 'a0b08e623c6800bb27dddb5d6f6956939be674cfc63399dcc7b9f2e6733c02e5' ,
63
63
signature :
64
- '08e2251bb12d8b4acf168404a11166868bc9222364ee66d545ab4c9e317d85ca420686b637319869ecba7bbf3aa268577ab434990847a3b32537e84ac5b1bd03 ' ,
64
+ '277d56770697ba1f6cec5e859aa4dcdff0ec4a261c75408092d44a38e768461a45fc0a7964ecb4714eb2849b0cd4c43e107db76f8a62c6b783342a895889b80c ' ,
65
65
version : null ,
66
66
drs_tx_hash_spec :
67
67
IDrsTxHashSpecification . Default /* Create generic Item assets instead of a tracked Item assets */ ,
@@ -210,7 +210,7 @@ test('create transaction for the SEND portion of a item-based payment', () => {
210
210
Item : {
211
211
amount : 1 ,
212
212
drs_tx_hash : DEFAULT_DRS_TX_HASH ,
213
- metadata : "{'test': 'test'}" ,
213
+ metadata : "{'test': 'test'}"
214
214
} ,
215
215
} ,
216
216
from : 'their_from_value' ,
@@ -250,7 +250,7 @@ test('create transaction for the RECEIVE portion of a item-based payment', () =>
250
250
Item : {
251
251
amount : 1 ,
252
252
drs_tx_hash : DEFAULT_DRS_TX_HASH ,
253
- metadata : "{'test': 'test'}" ,
253
+ metadata : null ,
254
254
} ,
255
255
} ,
256
256
from : 'our_from_value' ,
@@ -282,7 +282,7 @@ test('create transaction for the RECEIVE portion of a item-based payment', () =>
282
282
Item : {
283
283
amount : 1 ,
284
284
drs_tx_hash : DEFAULT_DRS_TX_HASH ,
285
- metadata : "{'test': 'test'}" ,
285
+ metadata : null ,
286
286
} ,
287
287
} /* Amount payed */ ,
288
288
locktime : 0 ,
@@ -294,7 +294,7 @@ test('create transaction for the RECEIVE portion of a item-based payment', () =>
294
294
Item : {
295
295
amount : 2 ,
296
296
drs_tx_hash : DEFAULT_DRS_TX_HASH ,
297
- metadata : "{'test': 'test'}" ,
297
+ metadata : null ,
298
298
} ,
299
299
} /* Change/excess */ ,
300
300
locktime : 0 ,
@@ -373,7 +373,7 @@ test('create TxIns address used as `from` value in DdeValues', () => {
373
373
if ( txInputs . isOk ( ) ) {
374
374
const ourFromAddress = constructTxInsAddress ( txInputs . value . inputs ) . unwrapOr ( '' ) ;
375
375
expect ( ourFromAddress ) . toStrictEqual (
376
- 'a7b09a0ffc38e41318eb67c781279d4168f6e203810741284c2426b86ed28e3a ' ,
376
+ 'c8b62d379f07602956207ea473ce20d9752d24ad6e6cd43cb042d024d7c6a468 ' ,
377
377
) ;
378
378
}
379
379
} ) ;
@@ -397,7 +397,7 @@ test('creates a valid signable asset hash value', () => {
397
397
398
398
expect ( signableTxInAssetHashes ) . toStrictEqual ( [
399
399
'a5b2f5e8dcf824aee45b81294ff8049b680285b976cc6c8fa45eb070acfc5974' ,
400
- 'ce86f26f7f44f92630031f83e8d2f26c58e88eae40583c8760082edc7407991f ' ,
400
+ 'cb8f6cba3a62cfb7cd14245f19509b800da3dd446b6d902290efbcc91b3cee0d ' ,
401
401
] ) ;
402
402
} ) ;
403
403
0 commit comments