use parent 1 for custom promote message_id
@@ -615,8 +615,8 @@ impl Client {
let tips = self.get_tips().await?;
let promote_message = Message::builder()
.with_network_id(self.get_network_id().await?)
- .with_parent1(tips.0)
- .with_parent2(*message_id)
+ .with_parent1(*message_id)
+ .with_parent2(tips.0)
.finish()
.map_err(|_| Error::TransactionError)?;
