remove field names from ProposalLock
so that ps-bridge works correctly
This commit is contained in:
parent
0b55cefd3b
commit
2ed77cd64b
1 changed files with 3 additions and 5 deletions
|
|
@ -113,9 +113,8 @@ data ProposalLock
|
||||||
--
|
--
|
||||||
-- @since 0.2.0
|
-- @since 0.2.0
|
||||||
Created
|
Created
|
||||||
{ craeted :: ProposalId
|
ProposalId
|
||||||
-- ^ The identifier of the proposal.
|
-- ^ The identifier of the proposal.
|
||||||
}
|
|
||||||
| -- | The stake was used to vote on a proposal.
|
| -- | The stake was used to vote on a proposal.
|
||||||
--
|
--
|
||||||
-- This kind of lock is placed while voting on a propsoal, in order to
|
-- This kind of lock is placed while voting on a propsoal, in order to
|
||||||
|
|
@ -123,11 +122,10 @@ data ProposalLock
|
||||||
--
|
--
|
||||||
-- @since 0.2.0
|
-- @since 0.2.0
|
||||||
Voted
|
Voted
|
||||||
{ votedOn :: ProposalId
|
ProposalId
|
||||||
-- ^ The identifier of the proposal.
|
-- ^ The identifier of the proposal.
|
||||||
, votedFor :: ResultTag
|
ResultTag
|
||||||
-- ^ The option which was voted on. This allows votes to be retracted.
|
-- ^ The option which was voted on. This allows votes to be retracted.
|
||||||
}
|
|
||||||
deriving stock
|
deriving stock
|
||||||
( -- | @since 0.1.0
|
( -- | @since 0.1.0
|
||||||
Show
|
Show
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue