monetas/btcwallet — pull request #88 by larshesel (2014-11-24 11:18:07+00:00)
Title: Fix off-by-one error

The precondition check in rollBackLastOutput should make sure there are
two or more outputs in order to proceed.

Extended test checking the error path to zero and one output and
modified a test that had only one output in order to make it satisfy the
precondition.