You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both return the same Promise<Block<T>>, so the tests would pass, but create validates the hash whereas decode does not, I presume validation was your intention?
The text was updated successfully, but these errors were encountered:
car-transaction/index.js
Line 38 in 54efe07
The params for
decode
aredecode = async ({ bytes, codec, hasher })
But the params used match
create
:create = async ({ bytes, cid, hasher, codec })
Both return the same
Promise<Block<T>>
, so the tests would pass, butcreate
validates the hash whereasdecode
does not, I presume validation was your intention?The text was updated successfully, but these errors were encountered: