Fix msg_writer calls in simplewallet