fix: explicitly account for referenceamount (if set) when doing coin selection