wip
This commit is contained in:
parent
7a5bc802a1
commit
bd25fb9866
|
@ -0,0 +1,12 @@
|
|||
## Nim-Dagger
|
||||
## Copyright (c) 2021 Status Research & Development GmbH
|
||||
## Licensed under either of
|
||||
## * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||
## * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||
## at your option.
|
||||
## This file may not be copied, modified, or distributed except according to
|
||||
## those terms.
|
||||
|
||||
import ./blockstream/[blockstream, chunkedblockstream]
|
||||
|
||||
export blockstream, chunkedblockstream
|
|
@ -45,7 +45,7 @@ func new*(
|
|||
cid: Cid.init(version, codec, hash).get(),
|
||||
data: @data)
|
||||
|
||||
proc new*(
|
||||
func new*(
|
||||
T: type Block,
|
||||
cid: Cid,
|
||||
data: openArray[byte] = [],
|
||||
|
|
Loading…
Reference in New Issue