HelloZeroNet / HelloZeroNet/ZeroNet
Calling mergerSiteDelete doesn't do anything
- 主要言語
- 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 はまだ評価されていません。