Commit 4216e281 authored by Steven Allen's avatar Steven Allen

default cidv1 to base32

parent 7a289d95
...@@ -14,7 +14,7 @@ type Encoder struct { ...@@ -14,7 +14,7 @@ type Encoder struct {
// Default return a new default encoder // Default return a new default encoder
func Default() Encoder { func Default() Encoder {
return Encoder{Base: mbase.MustNewEncoder(mbase.Base58BTC)} return Encoder{Base: mbase.MustNewEncoder(mbase.Base32)}
} }
// Encode encodes the cid using the parameters of the Encoder // Encode encodes the cid using the parameters of the Encoder
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment