fix bitcoin payment parsing with multiple inputs