Skip to content

Commit

Permalink
[cgo][CHANGELOG] refs #105 - Added function SKY_testutil_MakePubKey
Browse files Browse the repository at this point in the history
  • Loading branch information
Maykel Arias Torres committed Sep 3, 2019
1 parent dc36331 commit cf5856d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Added function `SKY_bip32_PublicKey_ChildNumber`
- Added function `SKY_bip32_PrivateKey_GetChainCode`
- Added function `SKY_bip32_PublicKey_GetChainCode`
- Added function `SKY_testutil_MakePubKey`


### Removed
Expand Down
8 changes: 8 additions & 0 deletions lib/cgo/testutil.testutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ func SKY_testutil_MakeAddress(_arg0 *C.cipher__Address) (____error_code uint32)
*_arg0 = *(*C.cipher__Address)(unsafe.Pointer(&__arg0))
return
}

//export SKY_testutil_MakePubKey
func SKY_testutil_MakePubKey(_arg0 *C.cipher__PubKey) (____error_code uint32) {
__arg0 := testutil.MakePubKey()
*_arg0 = *(*C.cipher__PubKey)(unsafe.Pointer(&__arg0))
return
}

0 comments on commit cf5856d

Please sign in to comment.