mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-06 16:58:11 +08:00
misc: small code style edit
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
3e8e03939f
commit
c0ee7d68fd
@ -34,12 +34,10 @@ func runIPLDPlugin(pl plugin.Plugin) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
var err error
|
||||
err = ipldpl.RegisterBlockDecoders(format.DefaultBlockDecoder)
|
||||
err := ipldpl.RegisterBlockDecoders(format.DefaultBlockDecoder)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
err = ipldpl.RegisterInputEncParsers(coredag.DefaultInputEncParsers)
|
||||
return err
|
||||
return ipldpl.RegisterInputEncParsers(coredag.DefaultInputEncParsers)
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (c) 2016 Jakub Sztandera
|
||||
# Copyright (c) 2017 Jakub Sztandera
|
||||
# MIT Licensed; see the LICENSE file in this repository.
|
||||
#
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user