Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
fix: keepkey swaps from RUNE (#1231)
Browse files Browse the repository at this point in the history
Co-authored-by: gomes <17035424+gomesalexandre@users.noreply.github.com>
  • Loading branch information
BitHighlander and gomesalexandre committed Apr 4, 2023
1 parent 62bf446 commit eb889d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ export class ChainAdapter extends CosmosSdkBaseAdapter<KnownChainIds.ThorchainMa

const from = await this.getAddress({ accountNumber, wallet })
const account = await this.getAccount(from)

// https://dev.thorchain.org/thorchain-dev/concepts/memos#asset-notation
const msg: Message = {
type: 'thorchain/MsgDeposit',
value: {
coins: [{ asset: 'rune', amount: bnOrZero(value).toString() }],
coins: [{ asset: 'THOR.RUNE', amount: bnOrZero(value).toString() }],
memo,
signer: from,
},
Expand Down

0 comments on commit eb889d6

Please sign in to comment.