diff --git a/sdk/src/types/block/address/mod.rs b/sdk/src/types/block/address/mod.rs index 99d3fdbe5b..96f2bda0ca 100644 --- a/sdk/src/types/block/address/mod.rs +++ b/sdk/src/types/block/address/mod.rs @@ -169,7 +169,7 @@ impl Address { // TODO maybe shouldn't be a semantic error but this function currently returns a TransactionFailureReason. (Self::Anchor(_), _) => return Err(TransactionFailureReason::SemanticValidationFailed), (Self::ImplicitAccountCreation(address), _) => { - return Self::from(address.ed25519_address().clone()).unlock(unlock, context); + return Self::from(*address.ed25519_address()).unlock(unlock, context); } _ => return Err(TransactionFailureReason::InvalidInputUnlock), }