Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
porting json/variant fixes from bitshares #3539
Browse files Browse the repository at this point in the history
  • Loading branch information
moskvanaft committed May 31, 2018
1 parent 7088290 commit 1ab2fc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions libraries/fc/include/fc/crypto/elliptic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ namespace fc {
};

} // namespace ecc
void to_variant( const ecc::private_key& var, variant& vo );
void from_variant( const variant& var, ecc::private_key& vo );
void to_variant( const ecc::public_key& var, variant& vo );
void from_variant( const variant& var, ecc::public_key& vo );
void to_variant( const ecc::private_key& var, variant& vo, uint32_t max_depth );
void from_variant( const variant& var, ecc::private_key& vo, uint32_t max_depth );
void to_variant( const ecc::public_key& var, variant& vo, uint32_t max_depth );
void from_variant( const variant& var, ecc::public_key& vo, uint32_t max_depth );

namespace raw
{
Expand Down
2 changes: 1 addition & 1 deletion libraries/fc/src/crypto/elliptic_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ namespace fc { namespace ecc {

}

void to_variant( const ecc::private_key& var, variant& vo, uint32_t )
void to_variant( const ecc::private_key& var, variant& vo, uint32_t )
{
vo = var.get_secret();
}
Expand Down

0 comments on commit 1ab2fc0

Please sign in to comment.