Fix allowDoubleSpends