File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -185,15 +185,15 @@ export const getVotingProcedure = (votingChoice) => wasm.VotingProcedure.new(vot
185185
186186// Register Stake Key Certificate
187187export const getStakeKeyRegCertWithCoin = ( stakeCred , deposit ) =>
188- wasm . StakeRegistration . new_with_coin ( stakeCred , strToBigNum ( deposit ) )
188+ wasm . StakeRegistration . new_with_explicit_deposit ( stakeCred , strToBigNum ( deposit ) )
189189
190190export const getStakeKeyRegCert = ( stakeCred ) => wasm . StakeRegistration . new ( stakeCred )
191191
192192export const getCertOfNewStakeReg = ( stakeKeyRegCert ) => wasm . Certificate . new_stake_registration ( stakeKeyRegCert )
193193
194194// Unregister Stake key Certificate
195195export const getStakeKeyDeregCertWithCoin = ( stakeCred , deposit ) =>
196- wasm . StakeDeregistration . new_with_coin ( stakeCred , strToBigNum ( deposit ) )
196+ wasm . StakeDeregistration . new_with_explicit_refund ( stakeCred , strToBigNum ( deposit ) )
197197
198198export const getStakeKeyDeregCert = ( stakeCred ) => wasm . StakeDeregistration . new ( stakeCred )
199199
You can’t perform that action at this time.
0 commit comments