gather_inputs: use correct variable in error message

"amount" and "fee" do not exist (anymore?).