Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Jun 16, 2022
1 parent d179c82 commit 276ef08
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,6 @@ test('Create Trezor transaction', async () => {
startLevel: 1
},
assets: [],
}, {
amount: '2832006',
// base
receiver: 'addr1q8v42wjda8r6mpfj40d36znlgfdcqp7jtj03ah8skh6u8wnrqua2vw243tmjfjt0h5wsru6appuz8c0pfd75ur7myyeqsx9990',
tx_hash: '3677e75c7ba699bfdc6cd57d42f246f86f69aefd76025006ac78313fad2bba20',
tx_index: 1,
utxo_id: '3677e75c7ba699bfdc6cd57d42f246f86f69aefd76025006ac78313fad2bba201',
addressing: {
path: [2147483692, 2147485463, 2147483648, 1, 2],
startLevel: 1
},
assets: [],
}, {
amount: '1000000',
// enterprise
Expand All @@ -159,6 +147,18 @@ test('Create Trezor transaction', async () => {
startLevel: 1
},
assets: [],
}, {
amount: '2832006',
// base
receiver: 'addr1q8v42wjda8r6mpfj40d36znlgfdcqp7jtj03ah8skh6u8wnrqua2vw243tmjfjt0h5wsru6appuz8c0pfd75ur7myyeqsx9990',
tx_hash: '3677e75c7ba699bfdc6cd57d42f246f86f69aefd76025006ac78313fad2bba20',
tx_index: 1,
utxo_id: '3677e75c7ba699bfdc6cd57d42f246f86f69aefd76025006ac78313fad2bba201',
addressing: {
path: [2147483692, 2147485463, 2147483648, 1, 2],
startLevel: 1
},
assets: [],
}];
const protocolParams = getProtocolParams();
const txBuilder = RustModule.WalletV4TxBuilder(protocolParams);
Expand Down Expand Up @@ -246,10 +246,6 @@ test('Create Trezor transaction', async () => {
path: `m/44'/1815'/0'/1/1`,
prev_hash: '058405892f66075d83abd1b7fe341d2d5bfd2f6122b2f874700039e5078e0dd5',
prev_index: 1,
}, {
path: `m/44'/1815'/0'/1/2`,
prev_hash: '3677e75c7ba699bfdc6cd57d42f246f86f69aefd76025006ac78313fad2bba20',
prev_index: 1,
}, {
path: `m/44'/1815'/0'/0/7`,
prev_hash: '1029eef5bb0f06979ab0b9530a62bac11e180797d08cab980fe39389d42b3657',
Expand All @@ -258,6 +254,10 @@ test('Create Trezor transaction', async () => {
path: `m/44'/1815'/0'/0/7`,
prev_hash: '2029eef5bb0f06979ab0b9530a62bac11e180797d08cab980fe39389d42b3658',
prev_index: 0,
}, {
path: `m/44'/1815'/0'/1/2`,
prev_hash: '3677e75c7ba699bfdc6cd57d42f246f86f69aefd76025006ac78313fad2bba20',
prev_index: 1,
}],
outputs: [{
address: 'Ae2tdPwUPEZAVDjkPPpwDhXMSAjH53CDmd2xMwuR9tZMAZWxLhFphrHKHXe',
Expand Down

0 comments on commit 276ef08

Please sign in to comment.