I have a contract being an ERC-20 token. I want to perform two idendical transfers (sender, receiver and amounts are the same).
I am using the contract objects from Web3j:
MyToken token = MyToken.load(tokenAddress, web3j, credentials, DefaultGasProvider()));
token.transfer(recipient, amount).send();
token.transfer(recipient, amount).send();
However, the secont transaction fails with "Known transaction" error. How can I make this work and successfully perform two distinct, but identical transactions?