mirror of https://github.com/poanetwork/quorum.git
add comments
This commit is contained in:
parent
cce5cc4273
commit
513c8c4720
|
@ -289,6 +289,8 @@ func (b *SimulatedBackend) SendTransaction(ctx context.Context, tx *types.Transa
|
|||
return nil
|
||||
}
|
||||
|
||||
// PreparePrivateTransaction replaces the payload data of the transaction with a
|
||||
// commitment to turn it into a private tx.
|
||||
func (b *SimulatedBackend) PreparePrivateTransaction(ctx context.Context, encodedTx hexutil.Bytes, privateFrom string, privateFor []string) (hexutil.Bytes, error) {
|
||||
if len(privateFor) == 0 {
|
||||
return nil, errors.New("need at least one private for")
|
||||
|
|
Loading…
Reference in New Issue