Skip to content

Conversation

@panleone
Copy link

@panleone panleone commented Mar 28, 2023

The bug:
If you create a governance proposal from the GUI and close the wallet before the proposal has 5 confirmations, when you open again the wallet will partially recover and FAIL to relay the proposal.

Why this is happening:
Basically the wtx->mapValue.find("proposal"); does not contain the hash of the 50 PIVs fee tx.

How I fixed:
I simply added manually the fee hash.

How to test:
Create a proposal close the wallet before the proposal has 5 confirmation, reopen the wallet and make sure that the proposal is relayed to the network when it reaches 5 confirmations

@Fuzzbawls Fuzzbawls changed the title Fix bug in proposal creation [GUI] Fix bug in proposal creation Apr 1, 2023
@Fuzzbawls Fuzzbawls added this to the 6.0.0 milestone Apr 1, 2023
Copy link
Member

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK e677bbe

Tested and reproduced on testnet, good catch for the GUI fail 👍

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK e677bbe

@Fuzzbawls Fuzzbawls merged commit 106e72e into PIVX-Project:master Apr 4, 2023
@Fuzzbawls Fuzzbawls modified the milestones: 6.0.0, 5.6.0 Feb 6, 2024
@panleone panleone deleted the proposal_creation_bug branch April 8, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants