Backport bitcoin fix - Fix crash bug with duplicate inputs within a transaction  b8f801964f59586508ea8da6cf3decd76bc0e571
Backport bitcoin fix - Fix crash bug with duplicate inputs within a transaction  b8f801964f59586508ea8da6cf3decd76bc0e571

nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official