txtool: fill in scripthash construction