Skip to content

Commit

Permalink
Merge pull request #1244 from multiversx/esdt-token-data-clone
Browse files Browse the repository at this point in the history
EsdtTokenData Clone
  • Loading branch information
andrei-marinica authored Oct 17, 2023
2 parents 85c3ca1 + 94cb732 commit f3ee728
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use crate::derive::TypeAbi;

const DECODE_ATTRIBUTE_ERROR_PREFIX: &[u8] = b"error decoding ESDT attributes: ";

#[derive(TopDecode, TopEncode, NestedDecode, NestedEncode, TypeAbi, Debug, ManagedVecItem)]
#[derive(Clone, TopDecode, TopEncode, NestedDecode, NestedEncode, TypeAbi, Debug, ManagedVecItem)]
pub struct EsdtTokenData<M: ManagedTypeApi> {
pub token_type: EsdtTokenType,
pub amount: BigUint<M>,
Expand Down

0 comments on commit f3ee728

Please sign in to comment.