Commit a445d2b2 authored by Amaury Martiny's avatar Amaury Martiny
Browse files

Fix logic

parent 9bdf7950
......@@ -84,8 +84,8 @@ export function balanceTransfer(info: TxInfo): UnsignedTransaction {
const metadata = new Metadata(registry, info.metadataRpc);
const transfer = info.keepAlive
? metadata.tx.balances.transfer
: metadata.tx.balances.transferKeepAlive;
? metadata.tx.balances.transferKeepAlivetransfer
: metadata.tx.balances.transfer;
const method = transfer(info.to, info.amount).toHex();
return {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment