func NewFinalityView(tx *Transaction) view.View {
	return endorser.NewFinalityView(tx.tx)
}
NewFinalityView returns a new instance of the finality view that waits for the finality of the passed transaction.
package state
import (
	"github.com/hyperledger-labs/fabric-smart-client/platform/fabric/services/endorser"
	"github.com/hyperledger-labs/fabric-smart-client/platform/view/view"
)