Correct handling of receiver amounts

Turns out that the primary receiver amount must be the total for the
entire transaction, covering both the secondary amounts.