Browse Source

storage-node: runtime-api remove some comments

Mokhtar Naamani 4 years ago
parent
commit
3b0d4bff5d
1 changed files with 1 additions and 3 deletions
  1. 1 3
      storage-node/packages/runtime-api/index.js

+ 1 - 3
storage-node/packages/runtime-api/index.js

@@ -182,9 +182,7 @@ class RuntimeApi {
         onFinalizedFailed && onFinalizedFailed({ err: 'Dropped', result, tx: status.asFinalized })
       }
 
-      // My gutt says this comes before isReady and causes await send() to throw
-      // and therefore onFinalizedFailed isn't initialized.
-      // We don't need to do anything other than log it?
+      // When is this status emitted?
       if (status.isInvalid) {
         debug(status.type)
         debug(JSON.stringify(status.asInvalid))