fix vararg misuse.
save wallet after adding a key.