File tree Expand file tree Collapse file tree
src/plugins/stake-plugins/generic/policyAdapters Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ export default [
467467 'src/plugins/stake-plugins/generic/policyAdapters/EthereumKilnAdaptor.ts' ,
468468 'src/plugins/stake-plugins/generic/policyAdapters/GlifInfinityPoolAdapter.ts' ,
469469 'src/plugins/stake-plugins/generic/policyAdapters/TarotPoolAdaptor.ts' ,
470- 'src/plugins/stake-plugins/generic/policyAdapters/ThorchainYieldAdaptor.ts' ,
470+
471471 'src/plugins/stake-plugins/generic/util/EdgeWalletSigner.ts' ,
472472 'src/plugins/stake-plugins/generic/util/KilnApi.ts' ,
473473 'src/plugins/stake-plugins/generic/util/tarotUtils.ts' ,
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ export const makeThorchainYieldAdapter = (
147147 {
148148 allocationType : 'stake' ,
149149 pluginId : requestAssetId . pluginId ,
150- tokenId : null ,
150+ tokenId : requestAssetId . tokenId ,
151151 currencyCode : requestAssetId . currencyCode ,
152152 nativeAmount : requestNativeAmount
153153 } ,
@@ -160,7 +160,7 @@ export const makeThorchainYieldAdapter = (
160160 }
161161 ]
162162
163- const approve = async ( ) => {
163+ const approve = async ( ) : Promise < void > => {
164164 let signedTx = await wallet . signTx ( edgeTx )
165165 signedTx = await wallet . broadcastTx ( signedTx )
166166 await wallet . saveTx ( signedTx )
@@ -241,7 +241,7 @@ export const makeThorchainYieldAdapter = (
241241 }
242242 ]
243243
244- const approve = async ( ) => {
244+ const approve = async ( ) : Promise < void > => {
245245 let signedTx = await wallet . signTx ( edgeTx )
246246 signedTx = await wallet . broadcastTx ( signedTx )
247247 await wallet . saveTx ( signedTx )
You can’t perform that action at this time.
0 commit comments