You also need to remove everything that depends on a wallet transaction.