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

fix: keepkey swaps from RUNE #1231

Merged
merged 8 commits into from
Apr 4, 2023
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 = {
gomesalexandre marked this conversation as resolved.
Show resolved Hide resolved
type: 'thorchain/MsgDeposit',
value: {
coins: [{ asset: 'rune', amount: bnOrZero(value).toString() }],
coins: [{ asset: 'THOR.RUNE', amount: bnOrZero(value).toString() }],
gomesalexandre marked this conversation as resolved.
Show resolved Hide resolved
memo,
signer: from,
},
Expand Down