Skip to content

Commit

Permalink
remove spurious tab
Browse files Browse the repository at this point in the history
  • Loading branch information
SatpalSandhu61 committed Aug 6, 2018
1 parent 1243bc2 commit 25a7096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ func (args *SendTxArgs) setDefaults(ctx context.Context, b Backend) error {

func (args *SendTxArgs) toTransaction() *types.Transaction {
if args.To == nil {
return types.NewContractCreation(uint64(*args.Nonce), (*big.Int)(args.Value), (*big.Int)(args.Gas), (*big.Int)(args.GasPrice), args.Data)
return types.NewContractCreation(uint64(*args.Nonce), (*big.Int)(args.Value), (*big.Int)(args.Gas), (*big.Int)(args.GasPrice), args.Data)
}
return types.NewTransaction(uint64(*args.Nonce), *args.To, (*big.Int)(args.Value), (*big.Int)(args.Gas), (*big.Int)(args.GasPrice), args.Data)
}
Expand Down

0 comments on commit 25a7096

Please sign in to comment.