forked from lthn/blockchain
wallet: minor fixes
This commit is contained in:
parent
f9ca8f52c5
commit
e2da6a1f51
2 changed files with 3 additions and 16 deletions
|
|
@ -954,21 +954,6 @@ namespace currency
|
|||
END_BOOST_SERIALIZATION()
|
||||
};
|
||||
|
||||
//TODO: @val, should we call it something like schnorr_sig ?
|
||||
struct simple_sig
|
||||
{
|
||||
crypto::signature s;
|
||||
|
||||
BEGIN_SERIALIZE_OBJECT()
|
||||
FIELD(s)
|
||||
END_SERIALIZE()
|
||||
|
||||
BEGIN_BOOST_SERIALIZATION()
|
||||
BOOST_SERIALIZE(s)
|
||||
END_BOOST_SERIALIZATION()
|
||||
};
|
||||
|
||||
|
||||
struct void_sig
|
||||
{
|
||||
//TODO:
|
||||
|
|
|
|||
|
|
@ -3478,7 +3478,9 @@ bool wallet2::get_asset_id_info(const crypto::public_key& asset_id, currency::as
|
|||
{
|
||||
if (asset_id == currency::native_coin_asset_id)
|
||||
{
|
||||
return CURRENCY_NAME_ABR;
|
||||
asset_info = currency::get_native_coin_asset_descriptor();
|
||||
whitelist_ = true;
|
||||
return true;
|
||||
}
|
||||
//check if asset is whitelisted or customly added
|
||||
whitelist_ = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue