Skip to content

Commit

Permalink
golang uses uint32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Aug 16, 2024
1 parent 7485b9f commit ef125ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/golang/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type DASContext struct {
}

func NewProverContext() *DASContext {
self := &DASContext{_inner: C.eth_kzg_das_context_new(C._Bool(true), C.ulong(1))}
self := &DASContext{_inner: C.eth_kzg_das_context_new(C._Bool(true), C.uint32_t(1))}

runtime.SetFinalizer(self, func(self *DASContext) {
C.eth_kzg_das_context_free(self.inner())
Expand Down

0 comments on commit ef125ce

Please sign in to comment.