HelloZeroNet / HelloZeroNet/ZeroNet

Calling mergerSiteDelete doesn't do anything

オープン
#1,238 コメント 1 件 リアクション 1 件 担当者 1 名 @HelloZeroNet が担当を希望しています GitHub で見る
bug
主要言語
JavaScript
スター
18.8k
フォーク
2.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

### Step 1: Please describe your environment

* ZeroNet version: 0.6.0

### Step 2: Describe the problem:

Calling my `removeMerger` function [here](https://github.com/anoadragon453/ZeroLSTN/blob/master/src/main.js#L137), I get the following output:

```
Removing 15UgXhtcVqf6KTEBVJBkwt5SyKxgcmDDcZ

/* Before */
{…}
/* ... */
14A1qSiNVjcPj1rqBNd49JFJWfHgDvePVU
15UgXhtcVqf6KTEBVJBkwt5SyKxgcmDDcZ // bye bye!
15cwpzZmWmYyGmLFu22FDMKWAfSeAuWbqp
17E4GPZqVnSQSVQEzjiG2JCeLLVwjLvYpR
17izouNc83HLAxASAJfJMr9XW2oLUCH3dH

// mergerSiteDelete called

/* After */
{…}
/* ... */
14A1qSiNVjcPj1rqBNd49JFJWfHgDvePVU
15UgXhtcVqf6KTEBVJBkwt5SyKxgcmDDcZ // Oh, still there? Hrm...
15cwpzZmWmYyGmLFu22FDMKWAfSeAuWbqp
17E4GPZqVnSQSVQEzjiG2JCeLLVwjLvYpR
17izouNc83HLAxASAJfJMr9XW2oLUCH3dH
```

#### Observed Results:

After calling `mergerSiteDelete`, and `mergerSiteList` before and afterwards, the merger site isn't actually deleted, neither from the list, nor the client. It still shows up on ZeroHello.

#### Expected Results:

Ideally the site would be removed from the `mergerSiteList` and site would be deleted from the client, removing it from ZeroHello. I believe this is what the [documentation implies](https://zeronet.readthedocs.io/en/latest/site_development/zeroframe_api_reference/#mergersitedelete-address).

Test it live on the 'genres' tab of [ZeroLSTN](https://zeronet.amorgan.xyz/ZeroLSTN.bit/?/). Edit: Removed due to confusion until this bug is fixed.

Thanks!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。