Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit 8326932

Browse files
Needs callback.
1 parent 9f8a9fc commit 8326932

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/js/ui.spam.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ UI.handleNetworkSpamming = function() {
3232
if (isSpamming) {
3333
isSpamming = false;
3434
$("#spam-btn").loadingReset("spam_the_network");
35-
iota.api.interruptAttachingToTangle();
36-
console.log("OK loading reset was called");
35+
iota.api.interruptAttachingToTangle(function() {
36+
console.log("Attaching to tangle was interrupted.");
37+
});
3738
}
3839
});
3940

0 commit comments

Comments
 (0)