Skip to content

Commit

Permalink
use transferKeepAlive instead of transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
upalinski committed Nov 1, 2024
1 parent a53d7bf commit 15973f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wallet-engine/src/engine/polkadot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const createPolkadotEngine = ({ getPrivateKey, polkadotRpc }: PolkadotEng
const [from, to, value] = req.params as [string, string, string];
const pair = getPair(from);

const hash = await api.tx.balances.transfer(to, value).signAndSend(pair);
const hash = await api.tx.balances.transferKeepAlive(to, value).signAndSend(pair);

res.result = hash.toHex();
}),
Expand Down

0 comments on commit 15973f5

Please sign in to comment.