make sighashes work in more cases
make sighashes work in more cases

tulayang/Nim,dom96/Nim,tulayang/Nim,dom96/Nim,russpowers/Nim,russpowers/Nim,dom96/Nim,tulayang/Nim,tulayang/Nim,dom96/Nim,russpowers/Nim,russpowers/Nim,tulayang/Nim,dom96/Nim,russpowers/Nim,russpowers/Nim,russpowers/Nim,tulayang/Nim,dom96/Nim,dom96/Nim