diff --git a/lib/cgo/cli.generate_wallet.go b/lib/cgo/cli.generate_wallet.go index a6126c6e9..4620c73a5 100644 --- a/lib/cgo/cli.generate_wallet.go +++ b/lib/cgo/cli.generate_wallet.go @@ -1,8 +1,6 @@ package main -import ( - cli "github.com/SkycoinProject/skycoin/src/cli" -) +import cli "github.com/SkycoinProject/skycoin/src/cli" /* @@ -10,11 +8,13 @@ import ( #include #include "skytypes.h" + #include "skyfee.h" */ import "C" //export SKY_cli_MakeAlphanumericSeed -func SKY_cli_MakeAlphanumericSeed(_arg0 *string) (____error_code uint32) { - *_arg0 = cli.MakeAlphanumericSeed() +func SKY_cli_MakeAlphanumericSeed(_arg0 *C.GoString_) (____error_code uint32) { + __arg0 := cli.MakeAlphanumericSeed() + copyString(__arg0, _arg0) return }