-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows us to replace SwapData with EdgeTxActionSwap
- Loading branch information
1 parent
99108eb
commit 59a0dd3
Showing
4 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -442,7 +442,19 @@ describe('currency wallets', function () { | |
} | ||
const savedAction: EdgeTxAction = { | ||
actionType: 'swap', | ||
swapInfo: { | ||
pluginId: 'myplugin', | ||
displayName: 'My Plugin', | ||
supportEmail: '[email protected]', | ||
isDex: false, | ||
orderUri: undefined | ||
}, | ||
isEstimate: false, | ||
payoutAddress: '0xpayoutaddress', | ||
payoutWalletId: '0xwalletid', | ||
refundAddress: undefined, | ||
orderId: 'myorderid', | ||
orderUri: 'https://myplugin.com', | ||
canBePartial: false, | ||
sourceAsset: { | ||
pluginId: 'bitcoin', | ||
|
@@ -534,7 +546,19 @@ describe('currency wallets', function () { | |
} | ||
const savedAction: EdgeTxAction = { | ||
actionType: 'swap', | ||
swapInfo: { | ||
pluginId: 'myplugin', | ||
displayName: 'My Plugin', | ||
supportEmail: '[email protected]', | ||
isDex: false, | ||
orderUri: undefined | ||
}, | ||
isEstimate: false, | ||
payoutAddress: '0xpayoutaddress', | ||
payoutWalletId: '0xwalletid', | ||
refundAddress: undefined, | ||
orderId: 'myorderid', | ||
orderUri: 'https://myplugin.com', | ||
canBePartial: false, | ||
sourceAsset: { | ||
pluginId: 'bitcoin', | ||
|