ds: fix offline WPSH hashing