Partial Revert "Revert "fix: ensure hasher is registered when using a hashing function""

I was too much trigger happy and caught #9297's regression test in the workaround revert.
This commit is contained in:
Jorropo 2022-12-05 18:57:29 +01:00
parent a3913d9f90
commit 2110f2c204

View File

@ -93,6 +93,10 @@ EOF
test_cmp expected actual
'
test_expect_failure "'ipfs add' with an unregistered hash and wrapped leaves fails without crashing" '
ipfs add --hash poseidon-bls12_381-a2-fc1 --raw-leaves=false -r mountdir/planets
'
}
# should work offline