@toruslabs/ethereum-controllers 5.4.0 → 5.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2943,7 +2943,7 @@ class AddChainController extends AbstractMessageController {
2943
2943
  try {
2944
2944
  const msgObject = this.getMessage(messageId);
2945
2945
  await this.approveMessage(messageId, msgObject.messageParams);
2946
- this.addChain(msgObject.messageParams);
2946
+ await this.addChain(msgObject.messageParams);
2947
2947
  this.updateMessage(objectSpread2_default()(objectSpread2_default()({}, msgObject), {}, {
2948
2948
  rawSig: JSON.stringify(msgObject.messageParams)
2949
2949
  }));