File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/utxo-staking/src/coreDao Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ import { Descriptor } from '@bitgo/wasm-miniscript';
1111 */
1212export function createStakingOutputs (
1313 stakingParams : {
14- value : bigint ;
14+ amount : bigint ;
1515 descriptor : string ;
1616 index ?: number ;
1717 } ,
1818 opReturnParams : OpReturnParams
19- ) : { script : Buffer ; value : bigint } [ ] {
19+ ) : { script : Buffer ; amount : bigint } [ ] {
2020 const descriptor = Descriptor . fromString (
2121 stakingParams . descriptor ,
2222 stakingParams . index === undefined ? 'definite' : 'derivable'
@@ -30,7 +30,7 @@ export function createStakingOutputs(
3030 const opReturnScript = createCoreDaoOpReturnOutputScript ( opReturnParams ) ;
3131
3232 return [
33- { script : outputScript , value : stakingParams . value } ,
34- { script : opReturnScript , value : BigInt ( 0 ) } ,
33+ { script : outputScript , amount : stakingParams . amount } ,
34+ { script : opReturnScript , amount : BigInt ( 0 ) } ,
3535 ] ;
3636}
You can’t perform that action at this time.
0 commit comments