Browse Source

add default values to base application

pull/8158/head
William Banfield 3 years ago
parent
commit
43c245da65
No known key found for this signature in database GPG Key ID: EFAD3442BF29E3AC
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      abci/types/application.go

+ 2
- 2
abci/types/application.go View File

@ -95,11 +95,11 @@ func (BaseApplication) ApplySnapshotChunk(req RequestApplySnapshotChunk) Respons
} }
func (BaseApplication) PrepareProposal(req RequestPrepareProposal) ResponsePrepareProposal { func (BaseApplication) PrepareProposal(req RequestPrepareProposal) ResponsePrepareProposal {
return ResponsePrepareProposal{}
return ResponsePrepareProposal{ModifiedTxStatus: ResponsePrepareProposal_UNMODIFIED}
} }
func (BaseApplication) ProcessProposal(req RequestProcessProposal) ResponseProcessProposal { func (BaseApplication) ProcessProposal(req RequestProcessProposal) ResponseProcessProposal {
return ResponseProcessProposal{}
return ResponseProcessProposal{Status: ResponseProcessProposal_ACCEPT}
} }
func (BaseApplication) FinalizeBlock(req RequestFinalizeBlock) ResponseFinalizeBlock { func (BaseApplication) FinalizeBlock(req RequestFinalizeBlock) ResponseFinalizeBlock {


Loading…
Cancel
Save