Got address from 3rd-party library:
address wallet = rlp[5].toAddress();
And wanna transfer some funds to it:
wallet.transfer(amount);
Got error:
TypeError: Member "transfer" not found or not visible after argument-dependent lookup in address.
wallet.transfer(amount);
^-------------^
And casts not works:
((address payable)(wallet)).transfer(amount);