Fixed issues with wallet.createTx using testnet

There were some issues creating testnet transactions using the Wallet and I fixed them by checking against the network provided when the wallet was instantiated.