Skip to content

Commit 541e239

Browse files
authored
fix(ledger): use correct utxorpc cert type in return (#1252)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 606041e commit 541e239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ledger/common/certs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,8 +1005,8 @@ func (c *StakeRegistrationDelegationCertificate) Utxorpc() (*utxorpc.Certificate
10051005
return nil, err
10061006
}
10071007
return &utxorpc.Certificate{
1008-
Certificate: &utxorpc.Certificate_StakeVoteDelegCert{
1009-
StakeVoteDelegCert: &utxorpc.StakeVoteDelegCert{
1008+
Certificate: &utxorpc.Certificate_StakeRegDelegCert{
1009+
StakeRegDelegCert: &utxorpc.StakeRegDelegCert{
10101010
StakeCredential: stakeCred,
10111011
PoolKeyhash: c.PoolKeyHash,
10121012
},

0 commit comments

Comments
 (0)