Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Aug 8, 2022
1 parent d98934e commit 1e38564
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -496,7 +496,7 @@ describe('takeUtxosForValues', () => {
// The third utxo is taken then
const take2 = CoinSelection.takeUtxosForValues(
[utxos[2], utxos[0], utxos[1]],
[multiToken(1_990_000)],
[multiToken(2_990_000)],
createCoinsPerUtxoWord(30_000),
0,
);
Expand Down
Expand Up @@ -493,8 +493,8 @@ describe('Create unsigned TX from UTXO', () => {
// it will take only one of the utxos because it covers the required token and the fee
expect(unsignedTxResponse.senderUtxos).toEqual([utxos[4], utxos[2]]);
expect(unsignedTxResponse.txBuilder.get_explicit_input().coin().to_str()).toEqual('12000002');
expect(unsignedTxResponse.txBuilder.get_explicit_output().coin().to_str()).toEqual('11998056');
expect(unsignedTxResponse.txBuilder.min_fee().to_str()).toEqual('1946');
expect(unsignedTxResponse.txBuilder.get_explicit_output().coin().to_str()).toEqual('11998058');
expect(unsignedTxResponse.txBuilder.min_fee().to_str()).toEqual('1944');

const assetInfo = identifierToCardanoAsset(testAssetId);
expect(unsignedTxResponse.txBuilder.get_explicit_input().multiasset()
Expand Down

0 comments on commit 1e38564

Please sign in to comment.