Skip to content

Commit

Permalink
fix in TestAddressString ref #34
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevAlDen committed Jun 6, 2019
1 parent 5a7bd53 commit 8af339a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cgo/tests/check_cipher.address.common.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ START_TEST(TestAddressString)
ck_assert(err == SKY_OK);
err = SKY_cipher_AddressFromPubKey(&pk, &addr);
ck_assert(err == SKY_OK);
GoString_ tmpstr = {str.p, str.n};
GoString_ tmpstr = {str.p, sizeof(buff)};

err = SKY_cipher_Address_String(&addr, &tmpstr);
ck_assert(err == SKY_OK);
Expand Down

0 comments on commit 8af339a

Please sign in to comment.